diff options
author | jak1 <jak1@themanaworld.org> | 2022-06-19 09:34:16 +0200 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-06-19 09:34:16 +0200 |
commit | 38fcd221d8fe03208abdafe0f01a6e54a601b71a (patch) | |
tree | 6a1ba5a5943b9dc0617e0046b39b82ba2284d53e /hercules/convert_server.py | |
parent | 9a351fb1abd5694bbbb7e38fcb64bb30b3fa74bb (diff) | |
download | messworld-tools-master.tar.gz messworld-tools-master.tar.bz2 messworld-tools-master.tar.xz messworld-tools-master.zip |
Diffstat (limited to 'hercules/convert_server.py')
-rwxr-xr-x | hercules/convert_server.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hercules/convert_server.py b/hercules/convert_server.py index 83e9149..f474baa 100755 --- a/hercules/convert_server.py +++ b/hercules/convert_server.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf8 -*- # # Copyright (C) 2014 Evol Online @@ -10,9 +10,9 @@ from code.server.evol.main import serverEvolMain from code.server.tmw.main import serverTmwMain def showHelp(): - print "Usage: ./convert_server.py evol" - print " ./convert_server.py tmwold" - print " ./convert_server.py tmwnew" + print("Usage: ./convert_server.py evol") + print(" ./convert_server.py tmwold") + print(" ./convert_server.py tmwnew") exit(1) if len(sys.argv) != 2: @@ -21,10 +21,10 @@ if len(sys.argv) != 2: serverType = sys.argv[1] if serverType == "evol": - serverEvolMain(); + serverEvolMain() elif serverType == "tmwold": - serverTmwMain(False); + serverTmwMain(False) elif serverType == "tmwnew": - serverTmwMain(True); + serverTmwMain(True) else: - print "Wrong parameter"
\ No newline at end of file + print("Wrong parameter")
\ No newline at end of file |