summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2020-04-06 16:09:20 +0200
committerjak1 <mike.wollmann@gmail.com>2020-04-06 16:09:20 +0200
commit2d11f10907bf8e0b061245bf7fa6a440fc01108a (patch)
tree684ff7915b2e1995342621bd04faa2a63df018ab
parente0412867f95d2b1ad83453cf99cc0a2c21f91a0c (diff)
downloadmanachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.tar.gz
manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.tar.bz2
manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.tar.xz
manachat-2d11f10907bf8e0b061245bf7fa6a440fc01108a.zip
moved the manachat.ini in config/
-rwxr-xr-xcurses/tmwcli.py2
-rwxr-xr-xgui/managui.py2
-rwxr-xr-xheadless.py2
-rwxr-xr-xrunshop.py2
-rwxr-xr-xsimple.py2
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]
diff --git a/runshop.py b/runshop.py
index 22fd740..c25da04 100755
--- a/runshop.py
+++ b/runshop.py
@@ -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')
diff --git a/simple.py b/simple.py
index f68553f..11f46bf 100755
--- a/simple.py
+++ b/simple.py
@@ -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]