Skip to content

Commit

Permalink
#199 LOGGING_FILE can be empty string.
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 committed Feb 10, 2021
1 parent 94c53ca commit bc13e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paradox/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_format(level):
def config_logger(logger):
logger_level = cfg.LOGGING_LEVEL_CONSOLE

if cfg.LOGGING_FILE is not None:
if cfg.LOGGING_FILE:
logfile_handler = RotatingFileHandler(
cfg.LOGGING_FILE,
mode="a",
Expand Down

0 comments on commit bc13e22

Please sign in to comment.