Clean up the strings from the alt cover URL list

git-svn-id: http://comictagger.googlecode.com/svn/trunk@395 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-02-03 18:12:10 +00:00
parent 8b748a3343
commit 59ede8d446

View File

@ -231,7 +231,12 @@ class ComicVineCacher:
return None
else:
url_list_str = row[0]
url_list = url_list_str.split(",")
if len(url_list_str) == 0:
return []
raw_list = url_list_str.split(",")
url_list = []
for item in raw_list:
url_list.append( str(item).strip())
return url_list
def add_volume_info( self, cv_volume_record ):