&water: It was appearing as if pinhook visited the user

master
jmjl 2021-10-24 06:44:35 +00:00
parent edec55b0d6
commit feeb861b66
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ def water(msg):
filename = '/home/{}/.botany/visitors.json'.format(nick) filename = '/home/{}/.botany/visitors.json'.format(nick)
with open(filename) as v: with open(filename) as v:
visitors = json.load(v) visitors = json.load(v)
visitors.append({'timestamp': int(time.time()), 'user': 'pinhook'}) visitors.append({'timestamp': int(time.time()), 'user': 'ju'})
with open(filename, 'w') as v: with open(filename, 'w') as v:
json.dump(visitors, v, indent=2) json.dump(visitors, v, indent=2)
with open('/home/{}/.botany/{}_plant_data.json'.format(nick, nick)) as plant_json: with open('/home/{}/.botany/{}_plant_data.json'.format(nick, nick)) as plant_json: