Skip to content

Commit

Permalink
Default log name update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jc committed Dec 30, 2024
1 parent 4fd19a0 commit dbc4d6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoAFK2.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def get_current_dir():
logger.info('Formation skip active')
globals()['load_formations'] = False

# Make a nice name for the output log file
if settings == 'settings.ini':
# Make a nice name for the output log file if it's the default
if str(settings.split('\\')[-1]) == 'settings.ini':
logname = 'autoafk2.log'
else:
logname = settings.split('.')[0] + '.log'
Expand Down

0 comments on commit dbc4d6f

Please sign in to comment.