Skip to content

Commit

Permalink
bugfix [part2] - tried to fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OcelotWalrus authored Jan 7, 2024
1 parent 3fcc6fa commit 7648782
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions source/logger_sys.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,6 @@ def log_message(message):
program_dir = str(appdirs.user_config_dir(appname='Bane-Of-Wargs'))

# Create log file
if not os.path.exists(f'{program_dir}'):
os.mkdir(f'{program_dir}')
os.mkdir(f'{program_dir}/game')
os.mkdir(f'{program_dir}/game/data')
os.mkdir(f'{program_dir}/game/schemas')
os.mkdir(f'{program_dir}/game/imgs')
os.mkdir(f'{program_dir}/logs')
os.mkdir(f'{program_dir}/plugins')
os.mkdir(f'{program_dir}/saves')
with open(f'{program_dir}/logs/{date.today()}.log', 'w') as f:
f.write("LOG")

Expand Down

0 comments on commit 7648782

Please sign in to comment.