diff --git a/.gitignore b/.gitignore index 08e324b..5db2268 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.txt *.xcf nohup.out +/.dev # user files *.tsv diff --git a/maloja b/maloja index 9a0deab..3db0abe 100755 --- a/maloja +++ b/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: