mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
clean up abstraction
This commit is contained in:
parent
9753afba74
commit
77460045c4
@ -295,7 +295,7 @@ class DupeGuru(Broadcaster):
|
||||
def _job_completed(self, jobid):
|
||||
if jobid == JobType.SCAN:
|
||||
self._results_changed()
|
||||
self.directories.save_hashes()
|
||||
fs.filesdb.commit()
|
||||
if not self.results.groups:
|
||||
self.view.show_message(tr("No duplicates found."))
|
||||
else:
|
||||
|
@ -286,9 +286,6 @@ class Directories:
|
||||
tree = ET.ElementTree(root)
|
||||
tree.write(fp, encoding="utf-8")
|
||||
|
||||
def save_hashes(self):
|
||||
fs.filesdb.commit()
|
||||
|
||||
def set_state(self, path, state):
|
||||
"""Set the state of folder at ``path``.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user