forgot to enable new clients

This commit is contained in:
Stefan Midjich 2017-11-16 22:26:57 +01:00
parent 4c9f133f9a
commit f56eb9a83d
1 changed files with 1 additions and 0 deletions

View File

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