1
0
Fork 0
forked from s3lph/matemat

Fixed failing unit tests.

This commit is contained in:
s3lph 2018-06-20 02:04:35 +02:00
parent 3801909408
commit 5ccb2c9304

View file

@ -17,7 +17,7 @@ def post_test_pagelet(method: str,
headers['Content-Type'] = 'text/plain'
dump: str = ''
for k, v in args.items():
dump += f'{k}: {v if v is str else ",".join(v)}\n'
dump += f'{k}: {v if isinstance(v, str) else ",".join(v)}\n'
return 200, dump