Skip to content

Commit

Permalink
Fix restart exception
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Mar 16, 2016
1 parent 3a8e20d commit eea55f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zeronet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eea55f8

Please sign in to comment.