Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 66537e4

Browse files
committed
bug fix on timelimit option. can be 'off'
1 parent e437c09 commit 66537e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runestone/activecode/activecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def run(self):
196196
if 'timelimit' not in self.options:
197197
self.options['timelimit'] = 'data-timelimit=25000'
198198
else:
199-
self.options['timelimit'] = 'data-timelimit=%d' % self.options['timelimit']
199+
self.options['timelimit'] = 'data-timelimit=%s' % self.options['timelimit']
200200

201201
if 'autorun' not in self.options:
202202
self.options['autorun'] = ''

0 commit comments

Comments
 (0)