mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-05 18:03:17 +03:00
Replaced old formatting with fstring
This commit is contained in:
parent
d5670d9b08
commit
1b0b482105
@ -292,7 +292,7 @@ else: # Linux / Run from source
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
GenericProtocolHandler.__init__(self)
|
GenericProtocolHandler.__init__(self)
|
||||||
self.httpd = HTTPServer(('localhost', 0), HTTPRequestHandler)
|
self.httpd = HTTPServer(('localhost', 0), HTTPRequestHandler)
|
||||||
self.redirect = 'http://localhost:%d/auth' % self.httpd.server_port
|
self.redirect = f'http://localhost:{self.httpd.server_port}/auth'
|
||||||
logger.trace(f'Web server listening on {self.redirect}')
|
logger.trace(f'Web server listening on {self.redirect}')
|
||||||
self.thread = None
|
self.thread = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user