mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-12 02:55:43 +00:00
Avoid recasting the type
This commit is contained in:
@@ -85,10 +85,7 @@ class ChangeDetectionStore:
|
||||
# Probably their should be dict...
|
||||
for watch in self.data['watching']:
|
||||
if watch['uuid'] == uuid:
|
||||
if val in watch:
|
||||
return watch[val]
|
||||
else:
|
||||
return None
|
||||
return watch.get(val)
|
||||
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user