diff options
-rw-r--r-- | config.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ +import os from configparser import ConfigParser -config_path = "/home/mark/dev/wikijscmd/config.ini" - +config_path = os.path.join(os.path.dirname(__file__), "config.ini") config = ConfigParser() config.read(config_path) |