From cd92b1afea67d827bcf7a74d3eed498d72940b6a Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Wed, 27 Mar 2013 17:58:05 +0000 Subject: [PATCH] cleanup git-svn-id: http://comictagger.googlecode.com/svn/trunk@549 6c5673fe-1810-88d6-992b-cd32ca31540c --- comictaggerlib/comicvinetalker.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/comictaggerlib/comicvinetalker.py b/comictaggerlib/comicvinetalker.py index b860913..48a56a3 100644 --- a/comictaggerlib/comicvinetalker.py +++ b/comictaggerlib/comicvinetalker.py @@ -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"