Skip to content

Commit

Permalink
Fix character path
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Dec 16, 2023
1 parent dcee43c commit 92b95bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
logger.setLevel(logging.WARNING)

base_path = os.path.dirname(__file__)
config = configurator.Configurator(os.path.abspath(os.path.join(base_path, "resources", "config.json")))
CHARACTER_LIST_PATH = "./resources/character_list.json"
discord_token = config.read_config()['DISCORD_TOKEN']
CONFIG_PATH = configurator.Configurator(os.path.abspath(os.path.join(base_path, "resources", "config.json")))
CHARACTER_LIST_PATH = os.path.abspath(os.path.join(base_path, "resources", "character_list.json"))

discord_token = CONFIG_PATH.read_config()['DISCORD_TOKEN']

character_list = []

Expand Down

0 comments on commit 92b95bd

Please sign in to comment.