Skip to content

Commit c70fcca

Browse files
committed
Fixing URL creation. I wrecked this in a previous commit
1 parent d4b55b6 commit c70fcca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

about_code_tool/genabout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def request_license_data(self, url, username, api_key, license_key):
291291

292292
url = url.rstrip('/')
293293
encoded_payload = urllib.urlencode(payload)
294-
full_url = '%(url)s/%(license_key)s/?encoded_payload'.format(locals())
294+
full_url = '%(url)s/%(license_key)s/?%(encoded_payload)s' % locals()
295295
# handle special characters in URL such as space etc.
296296
full_url = urllib.quote(full_url, safe="%/:=&?~#+!$,;'@()*[]")
297297
license_data = {}

0 commit comments

Comments
 (0)