Helpviewer/AdBlock/AdBlockSubscription.py

branch
6_0_x
changeset 4333
ec0664f353b3
parent 4330
2c278493b31e
child 4340
b60f7c844265
equal deleted inserted replaced
4330:2c278493b31e 4333:ec0664f353b3
117 from PyQt5.QtCore import QUrlQuery 117 from PyQt5.QtCore import QUrlQuery
118 urlQuery = QUrlQuery(url) 118 urlQuery = QUrlQuery(url)
119 self.__title = urlQuery.queryItemValue("title") 119 self.__title = urlQuery.queryItemValue("title")
120 self.__enabled = urlQuery.queryItemValue("enabled") != "false" 120 self.__enabled = urlQuery.queryItemValue("enabled") != "false"
121 self.__location = QByteArray(urlQuery.queryItemValue("location") 121 self.__location = QByteArray(urlQuery.queryItemValue("location")
122 .encode("utf-8")) 122 .encode("utf-8"))
123 123
124 # Check for required subscription 124 # Check for required subscription
125 self.__requiresLocation = urlQuery.queryItemValue( 125 self.__requiresLocation = urlQuery.queryItemValue(
126 "requiresLocation") 126 "requiresLocation")
127 self.__requiresTitle = urlQuery.queryItemValue("requiresTitle") 127 self.__requiresTitle = urlQuery.queryItemValue("requiresTitle")

eric ide

mercurial