cleanup/mtable-def
dgtlmoon 3 years ago
parent f6d64445bf
commit 60cefca3d7

@ -9,7 +9,6 @@ import time
import uuid as uuid_builder import uuid as uuid_builder
from copy import deepcopy from copy import deepcopy
from os import mkdir, path, unlink from os import mkdir, path, unlink
from model.Watch import mtable
from threading import Lock from threading import Lock
import re import re
import requests import requests
@ -159,7 +158,7 @@ class ChangeDetectionStore:
@property @property
def threshold_seconds(self): def threshold_seconds(self):
seconds = 0 seconds = 0
for m, n in mtable.items(): for m, n in Watch.mtable.items():
x = self.__data['settings']['requests']['time_between_check'].get(m) x = self.__data['settings']['requests']['time_between_check'].get(m)
if x: if x:
seconds += x * n seconds += x * n

Loading…
Cancel
Save