diff options
author | Florian Bruhin <me@the-compiler.org> | 2018-09-30 22:02:11 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2018-09-30 22:02:11 +0200 |
commit | 6f01571462fd31a5ffc593f825819a0c5579f91b (patch) | |
tree | a1211e7440614c233af4655bbde37958d6d9032a | |
parent | 4b495303f97b956fb5c7fef2677633b3953d1e20 (diff) | |
download | qutebrowser-6f01571462fd31a5ffc593f825819a0c5579f91b.tar.gz qutebrowser-6f01571462fd31a5ffc593f825819a0c5579f91b.zip |
Rename variable
-rw-r--r-- | qutebrowser/browser/adblock.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qutebrowser/browser/adblock.py b/qutebrowser/browser/adblock.py index 862ec18fa..f2a56d3c1 100644 --- a/qutebrowser/browser/adblock.py +++ b/qutebrowser/browser/adblock.py @@ -174,9 +174,9 @@ class HostBlocker: if url.scheme() == 'file': filename = url.toLocalFile() if os.path.isdir(filename): - for filenames in os.scandir(filename): - if filenames.is_file(): - self._import_local(filenames.path) + for entry in os.scandir(filename): + if entry.is_file(): + self._import_local(entry.path) else: self._import_local(filename) else: |