mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-30 00:22:10 -04:00
Add native Windows compatibility layer
This commit is contained in:
@@ -44,7 +44,7 @@ def _wipe_memory_files():
|
||||
continue
|
||||
try:
|
||||
if name == "memory.json":
|
||||
with open(p, "w") as f:
|
||||
with open(p, "w", encoding="utf-8") as f:
|
||||
json.dump([], f)
|
||||
else:
|
||||
os.remove(p)
|
||||
|
||||
Reference in New Issue
Block a user