fix pyrefly typuing errors

This commit is contained in:
2025-05-19 11:38:15 +10:00
parent 0c090c8489
commit 8a64d9c959
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -18,9 +18,13 @@ class TrilumNotes:
print("Please run get_token and set your token")
else:
self.ea = ETAPI(self.server_url, self.token)
self.new_notes = None
self.note_content = None
def get_token(self):
ea = ETAPI(self.server_url)
if self.tril_pass == None:
raise ValueError("Trillium password can not be none")
token = ea.login(self.tril_pass)
print(token)
print("I would recomend you update the env file with this tootsweet!")