Skip to content
Snippets Groups Projects
Commit 81bd21c6 authored by theopolisme's avatar theopolisme
Browse files

Link back to github repo in useragent, #35

parent 86b93bf4
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ class HTTPPersistentConnection(object):
clients_useragent = clients_useragent or ""
if clients_useragent != "":
clients_useragent += " "
self.useragent = clients_useragent + 'MwClient/' + __ver__
self.useragent = clients_useragent + 'MwClient/' + __ver__ + ' (https://github.com/mwclient/mwclient)'
def request(self, method, host, path, headers, data,
raise_on_not_ok=True, auto_redirect=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment