diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2022-07-04 09:53:03 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2022-07-04 10:11:11 +0200 |
| commit | 45dd321c6dd44f72d2982a9665a2ea88436bacec (patch) | |
| tree | 7626514af11e20ade4a3fb6c669e819513f40784 | |
| parent | 216682a4311beb324639e3e01d807fc52942bae8 (diff) | |
| download | geldschieberbot-45dd321c6dd44f72d2982a9665a2ea88436bacec.tar.gz geldschieberbot-45dd321c6dd44f72d2982a9665a2ea88436bacec.zip | |
fixup! test: add explicit encoding to open
| -rwxr-xr-x | test.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ def reset_state_string(string): def compare_state(comp_state): with open(comp_state, "r", encoding='utf-8') as csf, \ - open(os.environ["GSB_STATE_FILE", encoding='utf-8'], "r") as sf: + open(os.environ["GSB_STATE_FILE"], "r", encoding='utf-8') as sf: cs = csf.read() s = sf.read() return cs == s |
