mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-05 15:23:58 +00:00
Set WSRequest.qurl after parent class init and get it from url()
This commit is contained in:
@@ -145,11 +145,11 @@ class WSRequest(QNetworkRequest):
|
||||
if self.handler is None:
|
||||
raise AssertionError('handler undefined')
|
||||
|
||||
self.qurl = qurl
|
||||
if self.qurl is None:
|
||||
if qurl is None:
|
||||
raise AssertionError('URL undefined')
|
||||
|
||||
super().__init__(self.qurl)
|
||||
super().__init__(qurl)
|
||||
self.qurl = self.url()
|
||||
|
||||
# optional parameters
|
||||
self.parse_response_type = parse_response_type
|
||||
|
||||
Reference in New Issue
Block a user