Don't try to loop over empty enablers

This commit is contained in:
Ruud
2013-08-13 17:46:41 +02:00
parent 0f925a466a
commit 2e93687bb4
@@ -31,7 +31,7 @@ class ITunes(Automation, RSS):
for url in urls:
index += 1
if not enablers[index]:
if len(enablers) == 0 or len(enablers) < index or not enablers[index]:
continue
try: