Notify when wrong watchlist url is usud

This commit is contained in:
Ruud
2012-05-25 20:21:35 +02:00
parent bc47b5fad5
commit 95f87396f9
@@ -30,6 +30,9 @@ class IMDB(Automation):
index += 1
if not enablers[index]:
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)
last_update = float(Env.prop(prop_name, default = 0))