Duckapple / Kat

Kattis shell for getting examples, testing and submitting.
18 stars 6 forks source link

Submit crashes when including slashes #78

Closed Jakobis closed 2 years ago

Jakobis commented 2 years ago

Most commands, like archive and test, work fine if you tab to complete them, even though the command ends up looking like .\simplecronspec\, but submit crashes.

Traceback (most recent call last):
  File "C:\Users\Clipsterman\PycharmProjects\Kat\kattis.py", line 40, in main
    execCommand[command](data)
  File "C:\Users\Clipsterman\PycharmProjects\Kat\commands\submit.py", line 66, in submitCommand
    "📬 Submission Successful (url " + getConfigUrl("submissionsurl", "submissions") + "/" + id + ")"
TypeError: can only concatenate str (not "int") to str
Duckapple commented 2 years ago

Closed by #79