Skip to content

Commit

Permalink
bug: UnicodeEncodeError: 'ascii' codec can't encode character '\uff1a…
Browse files Browse the repository at this point in the history
…' in position 250: ordinal not in range(128)
  • Loading branch information
tc-imba committed Aug 7, 2020
1 parent 0beea14 commit 5c242f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vj4/handler/contest.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ async def _get_homework(self, *, tid: objectid.ObjectId):
(self.translate('page.contest_main.homework.title'), self.reverse_url('contest_main', ctype='homework')),
(tdoc['title'], self.reverse_url('contest_detail', ctype='homework', tid=tdoc['doc_id'])),
(page_title, None))
print(tdoc)
# print(tdoc)
self.render('homework_system_test.html', tdoc=tdoc, moss_user_id=options.moss_user_id,
page_title=page_title, path_components=path_components)

Expand Down

0 comments on commit 5c242f5

Please sign in to comment.