mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 15:01:36 +01:00
fix: use binary write for reg files
This commit is contained in:
@@ -168,7 +168,7 @@ class HTTP(DataBackend):
|
||||
r = requests.get(self._get_url(), params={"path": path, "as_string": True}, stream=True)
|
||||
r.raise_for_status()
|
||||
|
||||
if path.endswith(".reg") or path.endswith(".txt"):
|
||||
if path.endswith(".txt"):
|
||||
TYPE = "w"
|
||||
else:
|
||||
TYPE = "wb"
|
||||
|
||||
Reference in New Issue
Block a user