kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Avoid recasting the type
rodzic
0c2dc8616b
commit
3322f4a70b
|
@ -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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue