1
0
镜像来自 https://github.com/arsenetar/dupeguru.git synced 2026-03-13 03:51:38 +00:00

Fix flake8 error

This commit is contained in:
2020-05-13 23:20:28 -05:00
父節點 fa87f76298
當前提交 e921b9827e

查看文件

@@ -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 = [line for line in lines if not line.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))