Esempio n. 1
0
 def _init(self, modelclass):
     logging.basicConfig(level=logging.WARNING, format='%(levelname)s %(message)s')
     install_exception_hook()
     install_cocoa_logger()
     patch_threaded_job_performer()
     appdata = proxy.getAppdataPath()
     self.model = modelclass(self, appdata)
Esempio n. 2
0
 def __init__(self):
     core.pe.photo.PLAT_SPECIFIC_PHOTO_CLASS = Photo
     logging.basicConfig(level=logging.WARNING, format='%(levelname)s %(message)s')
     install_exception_hook('https://github.com/hsoft/dupeguru/issues')
     install_cocoa_logger()
     patch_threaded_job_performer()
     self.model = DupeGuru(self)
Esempio n. 3
0
 def _init(self, modelclass):
     logging.basicConfig(level=logging.WARNING,
                         format='%(levelname)s %(message)s')
     install_exception_hook()
     install_cocoa_logger()
     patch_threaded_job_performer()
     appdata = proxy.getAppdataPath()
     self.model = modelclass(self, appdata)
Esempio n. 4
0
 def _init(self, modelclass):
     logging.basicConfig(level=logging.WARNING, format='%(levelname)s %(message)s')
     install_exception_hook('https://github.com/hsoft/dupeguru/issues')
     install_cocoa_logger()
     patch_threaded_job_performer()
     self.model = modelclass(self)
Esempio n. 5
0
 def _init(self, modelclass):
     logging.basicConfig(level=logging.WARNING, format="%(levelname)s %(message)s")
     install_exception_hook()
     install_cocoa_logger()
     patch_threaded_job_performer()
     self.model = modelclass(self)