forgot this one
This commit is contained in:
parent
7bfebdd4ba
commit
c4d1801151
|
@ -35,7 +35,7 @@ for client_id in sr.client_ids():
|
||||||
client = Client(
|
client = Client(
|
||||||
storage=sr,
|
storage=sr,
|
||||||
chain=config.get('iptables', 'chain'),
|
chain=config.get('iptables', 'chain'),
|
||||||
client_id=client_id
|
client_id=client_id[0]
|
||||||
)
|
)
|
||||||
|
|
||||||
if datetime.now() > client.expires:
|
if datetime.now() > client.expires:
|
||||||
|
|
Loading…
Reference in New Issue