Fix count_slot_usage.py meeting links
Meeting links as printed out by count_slot_usage.py improperly used format(), resulting in %s leftovers in the output. This change fixes that. Change-Id: Id63df83841014474e89655e0f6e75cd0ace3da41
This commit is contained in:
parent
344c401170
commit
6a5154df27
@ -75,7 +75,7 @@ def calculate_meeting_counts(meetings):
|
|||||||
|
|
||||||
for meeting in meetings:
|
for meeting in meetings:
|
||||||
if 'meeting_id' in meeting:
|
if 'meeting_id' in meeting:
|
||||||
meeting_id = ('http://%s/meetings/%s/%04d/?C=N;O=D'.format(
|
meeting_id = ('http://{}/meetings/{}/{:4d}/?C=N;O=D'.format(
|
||||||
EAVESDROP, meeting['meeting_id'].replace('-', '_'), now.year))
|
EAVESDROP, meeting['meeting_id'].replace('-', '_'), now.year))
|
||||||
else:
|
else:
|
||||||
meeting_id = meeting['filefrom']
|
meeting_id = meeting['filefrom']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user