From 8eb7f145940cda5fb79c1b54b40464f85a4e3d95 Mon Sep 17 00:00:00 2001 From: Julian Marcos Date: Thu, 28 Sep 2023 17:54:39 +0000 Subject: [PATCH] Fix typo 'date/nowater' -> 'data/nowater' --- plugins/watered.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/watered.py b/plugins/watered.py index a3cf13e..be365d2 100644 --- a/plugins/watered.py +++ b/plugins/watered.py @@ -15,12 +15,12 @@ verbs = [ class IgnoredUsers: def __init__(self): - if 'date/nowater.txt' not in listdir(): - open('date/nowater.txt', 'w').close() + if 'data/nowater.txt' not in listdir(): + open('data/nowater.txt', 'w').close() @property def users(self): - with open('date/nowater.txt', 'r') as w: + with open('data/nowater.txt', 'r') as w: u = [i.strip() for i in w.readlines() if i.strip()] return u