mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Prevented potential mistake that I definitely didn't just make
This commit is contained in:
4
maloja
4
maloja
@@ -230,6 +230,10 @@ def update():
|
||||
|
||||
if not gotodir(): return False
|
||||
|
||||
if os.path.exists("./.dev"):
|
||||
print("Better not overwrite the development server!")
|
||||
return
|
||||
|
||||
print("Updating Maloja...")
|
||||
#with urllib.request.urlopen(SOURCE_URL) as response:
|
||||
# with tempfile.NamedTemporaryFile(delete=True) as tmpfile:
|
||||
|
||||
Reference in New Issue
Block a user