Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 27, 2024
1 parent 6c1ee2f commit 65ec8b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dpdispatcher/dlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
dlog.setLevel(logging.INFO)
try:
cwd_logfile_path = os.path.join(os.getcwd(), "dpdispatcher.log")
dlogf = logging.FileHandler(
cwd_logfile_path, delay=True
)
dlogf = logging.FileHandler(cwd_logfile_path, delay=True)
dlog.addHandler(dlogf)
dlog.info(f"LOG INIT:dpdispatcher log direct to {cwd_logfile_path}")
except PermissionError:
Expand Down

0 comments on commit 65ec8b8

Please sign in to comment.