mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Socket driver: Fix typo.
This commit is contained in:
parent
156b3d93e1
commit
42957a6a69
@ -261,7 +261,7 @@ class SocksProxy(registry.String):
|
|||||||
if ':' not in v:
|
if ':' not in v:
|
||||||
self.error()
|
self.error()
|
||||||
try:
|
try:
|
||||||
int(v.rsplit(':'))
|
int(v.rsplit(':', 2)[1])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
self.error()
|
self.error()
|
||||||
super(SocksProxy, self).setValue(v)
|
super(SocksProxy, self).setValue(v)
|
||||||
|
Loading…
Reference in New Issue
Block a user