diff options
-rwxr-xr-x | curses/tmwcli.py | 2 | ||||
-rwxr-xr-x | gui/managui.py | 2 | ||||
-rwxr-xr-x | headless.py | 2 | ||||
-rwxr-xr-x | runshop.py | 2 | ||||
-rwxr-xr-x | simple.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/curses/tmwcli.py b/curses/tmwcli.py index 679019b..109fd71 100755 --- a/curses/tmwcli.py +++ b/curses/tmwcli.py @@ -80,7 +80,7 @@ if __name__ == "__main__": if len(sys.argv) > 1: config.read(sys.argv[1]) else: - config.read('../manachat.ini') + config.read('../config/manachat.ini') rootLogger = logging.getLogger('') rootLogger.addHandler(logging.NullHandler()) diff --git a/gui/managui.py b/gui/managui.py index d9d4976..e24d836 100755 --- a/gui/managui.py +++ b/gui/managui.py @@ -16,7 +16,7 @@ from kivy.uix.popup import Popup from kivy.config import ConfigParser config = ConfigParser() -config.read("manachat.ini") +config.read("config/manachat.ini") import monsterdb import itemdb diff --git a/headless.py b/headless.py index 59d17c6..054314a 100755 --- a/headless.py +++ b/headless.py @@ -35,7 +35,7 @@ if __name__ == '__main__': level=logging.INFO, datefmt="%Y-%m-%d %H:%M:%S") - config_ini = 'manachat.ini' + config_ini = 'config/manachat.ini' if len(sys.argv) > 1: if sys.argv[1].endswith('.ini') and os.path.isfile(sys.argv[1]): config_ini = sys.argv[1] @@ -46,7 +46,7 @@ if __name__ == '__main__': shoplog.addHandler(dbgh) config = ConfigParser() - config.read('manachat.ini') + config.read('config/manachat.ini') load_itemdb('itemdb.txt') @@ -95,7 +95,7 @@ if __name__ == '__main__': debuglog.addHandler(dbgh) debuglog.setLevel(logging.INFO) - config_ini = 'manachat.ini' + config_ini = 'config/manachat.ini' if len(sys.argv) > 1: if sys.argv[1].endswith('.ini') and os.path.isfile(sys.argv[1]): config_ini = sys.argv[1] |