Skip to content

Commit

Permalink
Missing lineshift for logging to files
Browse files Browse the repository at this point in the history
  • Loading branch information
geirawsm committed Jul 9, 2024
1 parent 0e8a4ef commit 49a6253
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sausage_bot/util/log/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def log_function(
log_out += '[ {} ] '.format(function_name['name'])
log_out += str(log_in)
if args.log_file:
log_out += '\n'
dt = pendulum.now(config.TIMEZONE)
_dt_rev = dt.format('YYYY-MM-DD')
_logfilename = envs.LOG_DIR / f'{_dt_rev}.log'
Expand Down

0 comments on commit 49a6253

Please sign in to comment.