mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
MainWindow: Checker: Add worker.
This commit is contained in:
1 parent
30170df1b1
commit
a23692a29c
8 files changed
+117
-16
No files matched your search
@@ -40,7 +40,7 @@ class STATUS(Enum):
|
||||
|
||||
def __or__(self, y):
|
||||
v = [self, y]
|
||||
res = self.OK
|
||||
r = self.OK
|
||||
|
||||
if self.UNKNOWN in v:
|
||||
r = self.UNKNOWN
|
||||
@@ -60,6 +60,9 @@ class AbstractModelChecker(object):
|
||||
self._solver = "study"
|
||||
self._modules = Modules.NONE
|
||||
|
||||
self.reset()
|
||||
|
||||
def reset(self):
|
||||
self._status = STATUS.UNKNOWN
|
||||
self._summary = "Unknown"
|
||||
|
||||
|
||||
Reference in new issue
Block a user