Notify when wrong watchlist url is usud
This commit is contained in:
1 parent
bc47b5fad5
commit
95f87396f9
1 file changed
+3
@@ -30,6 +30,9 @@ class IMDB(Automation):
|
|||||||
index += 1
|
index += 1
|
||||||
if not enablers[index]:
|
if not enablers[index]:
|
||||||
continue
|
continue
|
||||||
|
elif 'author_id=' in csv_url:
|
||||||
|
log.error('This isn\'t the correct url.: %s' % csv_url)
|
||||||
|
continue
|
||||||
|
|
||||||
prop_name = 'automation.imdb.last_update.%s' % md5(csv_url)
|
prop_name = 'automation.imdb.last_update.%s' % md5(csv_url)
|
||||||
last_update = float(Env.prop(prop_name, default = 0))
|
last_update = float(Env.prop(prop_name, default = 0))
|
||||||
|
|||||||
Reference in new issue
Block a user