diff options
author | jak1 <mike.wollmann@gmail.com> | 2020-04-06 16:09:20 +0200 |
---|---|---|
committer | jak1 <mike.wollmann@gmail.com> | 2020-04-06 16:09:20 +0200 |
commit | 2d11f10907bf8e0b061245bf7fa6a440fc01108a (patch) | |
tree | 684ff7915b2e1995342621bd04faa2a63df018ab | |
parent | e0412867f95d2b1ad83453cf99cc0a2c21f91a0c (diff) | |
download | manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.tar.gz manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.tar.bz2 manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.tar.xz manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.zip |
moved the manachat.ini in config/
-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] |