Append file correction
This commit is contained in:
parent
ead6fa4cbf
commit
8c520ea42d
@ -158,7 +158,7 @@ class YandereBot:
|
|||||||
def blacklist(self, picked):
|
def blacklist(self, picked):
|
||||||
self.lenBlacklist += 1
|
self.lenBlacklist += 1
|
||||||
for path in self.settings_behavior["master_blacklist_w"]:
|
for path in self.settings_behavior["master_blacklist_w"]:
|
||||||
with open(path, "w") as f:
|
with open(path, "a") as f:
|
||||||
print(picked.get_full_string(), file=f)
|
print(picked.get_full_string(), file=f)
|
||||||
|
|
||||||
# load_pictures will return a list of YanHashObj() with a blacklist(s) applied
|
# load_pictures will return a list of YanHashObj() with a blacklist(s) applied
|
||||||
|
Reference in New Issue
Block a user