fix: use binary write for reg files

This commit is contained in:
Yannik Schmidt
2025-04-13 18:55:13 +02:00
parent aefab57bb0
commit 344d32901e

View File

@@ -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"