diff --git a/convert.py b/convert.py index 9ad2bb5..ed302fc 100755 --- a/convert.py +++ b/convert.py @@ -5,12 +5,10 @@ import datetime import shutil import json -from pykeepass import PyKeePass +from pykeepass import PyKeePass, create_database from urllib.parse import urlparse -shutil.copyfile("in.kdbx", "out.kdbx") - -kp = PyKeePass("out.kdbx", password="test") +kp = create_database("out.kdbx", password="test") groupLabels = { "passwords.Password": "Passwords", diff --git a/in.kdbx b/in.kdbx deleted file mode 100644 index 1a19f81..0000000 Binary files a/in.kdbx and /dev/null differ