more verbose

This commit is contained in:
Stefan Midjich 2017-11-16 21:54:34 +01:00
parent 64acdd080f
commit b23468ed28

View file

@ -163,7 +163,7 @@ if args.refresh:
if client.last_packets >= int(packets_val) and time_diff.days >= 1: if client.last_packets >= int(packets_val) and time_diff.days >= 1:
client.enabled = False client.enabled = False
if args.verbose: if args.verbose:
print('Enabling client:{ip}'.format( print('Disabling client:{ip}'.format(
ip=client.ip_address ip=client.ip_address
)) ))
client.commit() client.commit()