Skip to content

Commit 3b26ade

Browse files
committed
Correct an unfortunate string format error. Commit ready for merge. Should probably also be patched into production.
- Legacy-Id: 16551
1 parent 41fd67c commit 3b26ade

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ def propose_session_slides(request, session_id, num):
15901590
name = name + '-' + slugify(title).replace('_', '-')[:128]
15911591
rev = '00'
15921592
if Document.objects.filter(name=name).exists():
1593-
rev ='%02s' % (int(Document.objects.get(name=name).rev) + 1)
1593+
rev ='%02d' % (int(Document.objects.get(name=name).rev) + 1)
15941594
filename = '%s-%s%s'% (name, rev, ext)
15951595
destination = io.open(os.path.join(settings.SLIDE_STAGING_PATH, filename),'wb+')
15961596
for chunk in file.chunks():

0 commit comments

Comments
 (0)