mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +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:
|
||||
self.error()
|
||||
try:
|
||||
int(v.rsplit(':'))
|
||||
int(v.rsplit(':', 2)[1])
|
||||
except ValueError:
|
||||
self.error()
|
||||
super(SocksProxy, self).setValue(v)
|
||||
|
Loading…
Reference in New Issue
Block a user