start.py 292 B

1234567891011121314151617
  1. #!/usr/bin/env python2.7
  2. # Included modules
  3. import sys
  4. # ZeroNet Modules
  5. import zeronet
  6. def main():
  7. if "--open_browser" not in sys.argv:
  8. sys.argv = [sys.argv[0]] + ["--open_browser", "default_browser"] + sys.argv[1:]
  9. zeronet.main()
  10. if __name__ == '__main__':
  11. main()