We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b611dad commit 61ceb88Copy full SHA for 61ceb88
1 file changed
cupshelpers/openprinting.py
@@ -69,7 +69,7 @@ def run (self):
69
self.result = b''
70
status = 1
71
try:
72
- req = urllib.request(self.url, headers=headers)
+ req = urllib.request.Request(self.url, headers=headers)
73
with urllib.request.urlopen(req, timeout=HTTPS_TIMEOUT) as resp:
74
self.result = resp.read()
75
status = 0
0 commit comments