Wait 1 second to close files between restarts
This commit is contained in:
parent
56dbd88889
commit
6519e846d8
1 changed files with 1 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue