Helpviewer/VirusTotalApi.py

changeset 3035
36e9f388958b
parent 2999
28c75409a78f
child 3060
5883ce99ee12
child 3160
209a07d7e401
--- a/Helpviewer/VirusTotalApi.py	Sat Oct 19 13:03:39 2013 +0200
+++ b/Helpviewer/VirusTotalApi.py	Sat Oct 19 14:05:26 2013 +0200
@@ -82,7 +82,7 @@
         self.errorMessages = {
             -2: self.trUtf8("Request limit has been reached."),
             -1: self.trUtf8("Invalid key given."),
-             0: self.trUtf8("Requested item is not present.")
+            0: self.trUtf8("Requested item is not present.")
         }
     
     def preferencesChanged(self):
@@ -142,7 +142,7 @@
         request.setHeader(QNetworkRequest.ContentTypeHeader,
                           "application/x-www-form-urlencoded")
         params = QByteArray("key={0}&url=".format(
-                Preferences.getHelp("VirusTotalServiceKey")))\
+            Preferences.getHelp("VirusTotalServiceKey")))\
             .append(QUrl.toPercentEncoding(url.toString()))
         
         import Helpviewer.HelpWindow

eric ide

mercurial