&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:
|
class IgnoredUsers:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
if 'nowater.txt' not in listdir():
|
if 'date/nowater.txt' not in listdir():
|
||||||
open('nowater.txt', 'w').close()
|
open('date/nowater.txt', 'w').close()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def users(self):
|
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()]
|
u = [i.strip() for i in w.readlines() if i.strip()]
|
||||||
return u
|
return u
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue