mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Instantiate Scanner on-the-fly
Previously, it would be instantiated on startup. This will make our job easier for an upcoming SE/ME/PE merge.
This commit is contained in:
@@ -124,7 +124,8 @@ class Scanner:
|
||||
return True
|
||||
return len(dupe.path) > len(ref.path)
|
||||
|
||||
def get_scan_options(self):
|
||||
@staticmethod
|
||||
def get_scan_options():
|
||||
"""Returns a list of scanning options for this scanner.
|
||||
|
||||
Returns a list of ``ScanOption``.
|
||||
|
||||
Reference in New Issue
Block a user