|
|
|
@ -79,6 +79,10 @@ def main():
|
|
|
|
|
Entry point for GNS3 server
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
if sys.platform.startswith("win"):
|
|
|
|
|
# necessary on Windows to freeze the application
|
|
|
|
|
multiprocessing.freeze_support()
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
tornado.options.parse_command_line()
|
|
|
|
|
except (tornado.options.Error, ValueError):
|
|
|
|
@ -90,10 +94,6 @@ def main():
|
|
|
|
|
print(__version__)
|
|
|
|
|
raise SystemExit
|
|
|
|
|
|
|
|
|
|
if sys.platform.startswith("win"):
|
|
|
|
|
# necessary on Windows to freeze the application
|
|
|
|
|
multiprocessing.freeze_support()
|
|
|
|
|
|
|
|
|
|
current_year = datetime.date.today().year
|
|
|
|
|
print("GNS3 server version {}".format(__version__))
|
|
|
|
|
print("Copyright (c) 2007-{} GNS3 Technologies Inc.".format(current_year))
|
|
|
|
|