mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
8 lines
212 B
Python
8 lines
212 B
Python
def getPasswordHash():
|
|
with open('password.txt') as file:
|
|
return file.readline()
|
|
|
|
def setPasswordHash(newPasswordHash):
|
|
with open('password.txt', 'w') as file:
|
|
file.write(newPasswordHash)
|