FIX: Fix for deleting series from the Manage Comics page

This commit is contained in:
evilhero 2017-02-02 09:09:27 -05:00
parent 1f0013281f
commit b0458c6e09
1 changed files with 1 additions and 1 deletions

View File

@ -2284,7 +2284,7 @@ class WebInterface(object):
comyr = k.find('[')
ComicYear = re.sub('[\[\]]', '', k[comyr:]).strip()
ComicName = k[:comyr].strip()
if len(v) > 1:
if isinstance(v, list):
#because multiple items can have the same comicname & year, we need to make sure they're all unique entries
for x in v:
clist.append({'ComicName': ComicName,