1
0
kopia lustrzana https://github.com/arsenetar/dupeguru.git synced 2025-07-05 23:13:20 +00:00
This commit is contained in:
Andrew Senetar 2020-06-24 17:11:09 -05:00
rodzic b048fa5968
commit d2193328a7
Podpisane przez: arsenetar
ID klucza GPG: C63300DCE48AB2F1

Wyświetl plik

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