Fix typo 'date/nowater' -> 'data/nowater'

master
jmjl 2023-09-28 17:54:39 +00:00
parent 405a113598
commit 8eb7f14594
1 changed files with 3 additions and 3 deletions

View File

@ -15,12 +15,12 @@ verbs = [
class IgnoredUsers: class IgnoredUsers:
def __init__(self): def __init__(self):
if 'date/nowater.txt' not in listdir(): if 'data/nowater.txt' not in listdir():
open('date/nowater.txt', 'w').close() open('data/nowater.txt', 'w').close()
@property @property
def users(self): 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()] u = [i.strip() for i in w.readlines() if i.strip()]
return u return u