forgot to enable new clients

This commit is contained in:
Stefan Midjich 2017-11-16 22:26:57 +01:00
parent 4c9f133f9a
commit f56eb9a83d

View file

@ -151,6 +151,7 @@ if args.refresh:
print('Creating new client:{ip}'.format( print('Creating new client:{ip}'.format(
ip=client.ip_address ip=client.ip_address
)) ))
client.enabled = True
client.commit() client.commit()
if int(packets_val) != client.last_packets: if int(packets_val) != client.last_packets: