Private GIT

Skip to content
Snippets Groups Projects
Commit 4767c90a authored by labrys's avatar labrys
Browse files

PEP 203: Replace assignment with augmented assignment

parent dc4e7d0f
Branches
Tags
No related merge requests found
......@@ -30,7 +30,7 @@ class TransmissionAPI(GenericClient):
super(TransmissionAPI, self).__init__('Transmission', host, username, password)
if not self.host.endswith('/'):
self.host = self.host + '/'
self.host += '/'
if self.rpcurl.startswith('/'):
self.rpcurl = self.rpcurl[1:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment