Skip to content

Commit

Permalink
socks5 proxy formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stepjet authored Jun 26, 2024
1 parent df72f43 commit 96e9ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gologin/gologin.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def formatProxyUrlPassword(self, proxy):
if proxy.get('username', '') == '':
return mode+'://'+proxy.get('host', '')+':'+str(proxy.get('port', 80))
else:
return proxy.get('mode', 'http')+'://'+proxy.get('username', '')+':'+proxy.get('password')+'@'+proxy.get('host', '')+':'+str(proxy.get('port', 80))
return mode+'://'+proxy.get('username', '')+':'+proxy.get('password')+'@'+proxy.get('host', '')+':'+str(proxy.get('port', 80))

def getTimeZone(self):
proxy = self.proxy
Expand Down

0 comments on commit 96e9ba0

Please sign in to comment.