mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-02-03 20:01:38 +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:
@@ -9,7 +9,8 @@ from hscommon.trans import tr
|
||||
from core.scanner import Scanner as ScannerBase, ScanOption, ScanType
|
||||
|
||||
class ScannerSE(ScannerBase):
|
||||
def get_scan_options(self):
|
||||
@staticmethod
|
||||
def get_scan_options():
|
||||
return [
|
||||
ScanOption(ScanType.Filename, tr("Filename")),
|
||||
ScanOption(ScanType.Contents, tr("Contents")),
|
||||
|
||||
Reference in New Issue
Block a user