Avoid an exception condition

git-svn-id: http://comictagger.googlecode.com/svn/trunk@709 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2014-04-09 01:50:40 +00:00
parent e57736b955
commit 0feed294d4

View File

@ -43,6 +43,12 @@ class IssueString:
if text is None:
return
if type(text) == int:
text = str(text)
if len(text) == 0:
return
text = unicode(text)