Fix restart exception
This commit is contained in:
parent
3a8e20df7d
commit
eea55f8f16
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ def main():
|
|||
# Restart
|
||||
gc.collect() # Garbage collect
|
||||
print "Restarting..."
|
||||
import time
|
||||
time.sleep(1) # Wait files to close
|
||||
args = sys.argv[:]
|
||||
args.insert(0, sys.executable)
|
||||
|
|
Loading…
Reference in a new issue