This commit is contained in:
iFargle
2023-02-15 14:07:56 +09:00
parent ac507c49a3
commit fc142cba05

View File

@@ -133,7 +133,8 @@ def startup_checks():
# Check 2: See if /data/ is writable:
writable = False
try:
key_file = open("/data/key.txt", "wb+")
with open("/data/key.txt", "wb+") as key_file:
key_file.close()
writable = True
except PermissionError:
writable = False