1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 09:11:46 +00:00

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

View file

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