&water: Ignore file in data/
This commit moves nowater.txt from the root of the project to the data directory, where it can be kept private.master
parent
4f631e96fe
commit
6d2a05d52c
|
@ -15,12 +15,12 @@ verbs = [
|
|||
|
||||
class IgnoredUsers:
|
||||
def __init__(self):
|
||||
if 'nowater.txt' not in listdir():
|
||||
open('nowater.txt', 'w').close()
|
||||
if 'date/nowater.txt' not in listdir():
|
||||
open('date/nowater.txt', 'w').close()
|
||||
|
||||
@property
|
||||
def users(self):
|
||||
with open('nowater.txt', 'r') as w:
|
||||
with open('date/nowater.txt', 'r') as w:
|
||||
u = [i.strip() for i in w.readlines() if i.strip()]
|
||||
return u
|
||||
|
||||
|
|
Loading…
Reference in New Issue