Fix bug with adding kdbx-extension to output filename.
This commit is contained in:
parent
66a1ee3e27
commit
c8384edebe
@ -20,7 +20,7 @@ if not args.outfile:
|
||||
args.outfile = "{}.kdbx".format(fileparts[0])
|
||||
|
||||
outparts = splitext(args.outfile)
|
||||
if not outparts[1] == "kdbx":
|
||||
if outparts[1] != ".kdbx":
|
||||
args.outfile += ".kdbx"
|
||||
|
||||
kp = create_database(args.outfile, password="test")
|
||||
|
Loading…
x
Reference in New Issue
Block a user