1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-10-31 22:05:58 +00:00

Rename an ell variable into something that flake8 doesn't complain about

This commit is contained in:
Joe Moore 2020-06-05 19:44:08 -04:00
parent d5a6ca7488
commit b048fa5968

View File

@ -557,7 +557,7 @@ def fix_qt_resource_file(path):
with open(path, "rb") as fp: with open(path, "rb") as fp:
contents = fp.read() contents = fp.read()
lines = contents.split(b"\n") lines = contents.split(b"\n")
lines = [l for l in lines if not l.startswith(b"#")] lines = [lin for lin in lines if not lin.startswith(b"#")]
with open(path, "wb") as fp: with open(path, "wb") as fp:
fp.write(b"\n".join(lines)) fp.write(b"\n".join(lines))