Skip to content

Commit

Permalink
[patch] Windows log files fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 10, 2024
1 parent 4b8fa67 commit 504fe06
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(
logfile = logs_folder.joinpath(self._name + ".log")
if pathlib.Path(logfile).is_file():
logold = logs_folder.joinpath(self._name + ".log.old")
if pathlib.Path(logold).is_file():
if pathlib.Path(logold).exists():
logold.unlink()
logfile.rename(logold)
fh = logging.FileHandler(logfile)
Expand Down
1 change: 0 additions & 1 deletion requirements.all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jaraco-functools==4.1.0
# keyring
keyring==25.4.1
# via twine
mkdocs==1.6.1
more-itertools==10.5.0
# via
# jaraco-classes
Expand Down
1 change: 0 additions & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jaraco-functools==4.1.0
# keyring
keyring==25.4.1
# via twine
mkdocs==1.6.1
more-itertools==10.5.0
# via
# jaraco-classes
Expand Down

0 comments on commit 504fe06

Please sign in to comment.