cleanup
git-svn-id: http://comictagger.googlecode.com/svn/trunk@549 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
4d21a001d6
commit
cd92b1afea
@ -55,11 +55,9 @@ class ComicVineTalkerException(Exception):
|
||||
|
||||
class ComicVineTalker(QObject):
|
||||
|
||||
|
||||
def __init__(self, api_key=""):
|
||||
QObject.__init__(self)
|
||||
|
||||
#self.api_base_url = "http://api.comicvine.com"
|
||||
self.api_base_url = "http://www.comicvine.com/api"
|
||||
|
||||
# key that is registered to comictagger
|
||||
@ -210,9 +208,6 @@ class ComicVineTalker(QObject):
|
||||
if IssueString(record['issue_number']).asString().lower() == IssueString(issue_number).asString().lower():
|
||||
found = True
|
||||
break
|
||||
#if float(record['issue_number']) == IssueString(issue_number).asFloat():
|
||||
# found = True
|
||||
# break
|
||||
|
||||
if (found):
|
||||
issue_url = self.api_base_url + "/issue/" + str(record['id']) + "/?api_key=" + self.api_key + "&format=json"
|
||||
|
Loading…
Reference in New Issue
Block a user