Commit Graph

6 Commits

Author SHA1 Message Date
Robert Maikher 1675f26080 Fix string issues related to switch to python3
safe_str is no longer relevant after unicode strings are no longer explicit string types.
Popen takes bytes by default now, not strings, which is fixed by setting an encoding
sys.stdout.write should work with strings on linux at least. We only use it for the buy menu timeout, which already only works on linux, so it shouldn't be a problem.
2018-08-24 13:43:35 +02:00
Robert Maikher ab0a218f8e Use function to return header instead of stringformatting a variable 2018-08-24 09:21:01 +02:00
Robert Maikher d5475b834f Convert most strings to fstrings for readability
Some are kept as-is because they wouldn't be more readable, or do insanity that i cannot bother deciphering right now
2018-08-23 13:15:45 +02:00
Robert Maikher ce56649c7c Run 2to3 to start moving to python3 2018-08-19 16:38:45 +02:00
Christoffer Viken a0ec131c49 Join the last 2 entries in a purchase if they are the same thing. 2017-02-26 11:26:41 +00:00
Christoffer Viken 12ad58961c 2017-02-20 12:19:03 +00:00