Wait 1 second to close files between restarts

This commit is contained in:
HelloZeroNet 2016-03-12 20:34:37 +01:00
parent 56dbd88889
commit 6519e846d8
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ def main():
# Restart
gc.collect() # Garbage collect
print "Restarting..."
time.sleep(1) # Wait files to close
args = sys.argv[:]
args.insert(0, sys.executable)
if sys.platform == 'win32':