mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08: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)
|