Skip to content

Commit

Permalink
Fix PyLint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 1, 2023
1 parent 868d6bd commit eeb1d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scan_to_paperless/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def scan(self) -> None:
]

source_folder = os.environ.get("SCAN_SOURCE_FOLDER", "/source")
for name in [n for n in self._status]: # pylint: disable=consider-using-dict-items
for name in list(self._status):
if name != self._current_folder:
if os.path.isdir(os.path.join(source_folder, name)):
self._update_status(name)
Expand Down

0 comments on commit eeb1d3b

Please # to comment.