Helpviewer/AdBlock/AdBlockSubscription.py

changeset 42
23b45a742e17
parent 13
1af94a91f439
child 134
c2dd2bf92ece
diff -r 572a009369f0 -r 23b45a742e17 Helpviewer/AdBlock/AdBlockSubscription.py
--- a/Helpviewer/AdBlock/AdBlockSubscription.py	Fri Jan 08 19:14:19 2010 +0000
+++ b/Helpviewer/AdBlock/AdBlockSubscription.py	Sat Jan 09 19:43:36 2010 +0000
@@ -87,9 +87,9 @@
         url.setPath("subscribe")
         
         queryItems = []
-        queryItems.append(("location", str(self.__location)))
+        queryItems.append(("location", bytes(self.__location).decode()))
         queryItems.append(("title", self.__title))
-        if self.__enabled:
+        if not self.__enabled:
             queryItems.append(("enabled", "false"))
         if self.__lastUpdate.isValid():
             queryItems.append(("lastUpdate", 

eric ide

mercurial