Fixed
This commit is contained in:
@@ -12,7 +12,7 @@ def write(name, value):
|
||||
if path.exists():
|
||||
print('keep secrets/' + name)
|
||||
return path.read_text().strip()
|
||||
path.write_text(value + '\n', newline='\n')
|
||||
path.write_bytes((value + '\n').encode('utf-8'))
|
||||
print('created secrets/' + name)
|
||||
return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user