mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 02:22:26 +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)
|