mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-11-03 08:07:23 +00:00
15 lines
340 B
Python
15 lines
340 B
Python
|
|
from changedetectionio.model import watch_base
|
|
|
|
|
|
class model(watch_base):
|
|
|
|
def __init__(self, *arg, **kw):
|
|
super(model, self).__init__(*arg, **kw)
|
|
|
|
self['overrides_watch'] = kw.get('default', {}).get('overrides_watch')
|
|
|
|
if kw.get('default'):
|
|
self.update(kw['default'])
|
|
del kw['default']
|