You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
379 B

from configuration import Config
import json
class Pwdfile:
def __init__(self):
self.pwdsfile = Config().get_pwdfilename()
def read(self):
with open(self.pwdsfile, mode="r") as pwddata:
return json.load(pwddata)
def write(self, keys):
with open(self.pwdsfile, mode="w") as pwddata: