1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-07-13 18:13:19 +00:00

Compare commits

..

No commits in common. "7658cdafbc6e4917248ee93e060ab5ea5112db52" and "4c9309ea9c6f491b9c27be6b881c0ffdb2b73ebe" have entirely different histories.

4 changed files with 6 additions and 8 deletions

View File

@ -259,7 +259,7 @@ class DupeGuru(Broadcaster):
def _create_file(self, path):
# We add fs.Folder to fileclasses in case the file we're loading contains folder paths.
return fs.get_file(path, self.fileclasses + [se.fs.Folder])
return fs.get_file(path, self.fileclasses + [fs.Folder])
def _get_file(self, str_path):
path = Path(str_path)
@ -539,8 +539,8 @@ class DupeGuru(Broadcaster):
return dupe.get_display_info(group, delta)
except Exception as e:
logging.warning(
"Exception (type: %s) on GetDisplayInfo for %s: %s",
type(e), str(dupe.path), str(e))
"Exception on GetDisplayInfo for %s: %s", str(dupe.path), str(e)
)
return empty_data()
def invoke_custom_command(self):

View File

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

View File

@ -12,7 +12,6 @@ import shutil
import json
from argparse import ArgumentParser
import platform
import distro
import re
from hscommon.build import (
@ -91,7 +90,7 @@ def package_debian_distribution(distribution):
)
shutil.copy(op.join("images", "dgse_logo_128.png"), srcpath)
os.chdir(destpath)
cmd = "dpkg-buildpackage -F -us -uc"
cmd = "dpkg-buildpackage -S -us -uc"
os.system(cmd)
os.chdir("../..")
@ -213,7 +212,7 @@ def main():
package_windows()
else:
if not args.arch_pkg:
distname = distro.id()
distname, _, _ = platform.dist()
else:
distname = "arch"
if distname == "arch":

View File

@ -2,4 +2,3 @@ Send2Trash>=1.3.0
sphinx>=1.2.2
polib>=1.0.4
hsaudiotag3k>=1.1.3
distro>=1.5.0