Use :memory: for an in-memory database
Using an empty string for the same purpose only started working in some recent-ish Qt/sqlite/? version, so using --version failed on Ubuntu Trusty.
This commit is contained in:
parent
051d2665f3
commit
9f94f28181
@ -85,7 +85,7 @@ def run(args):
|
||||
if args.version:
|
||||
# we need to init sql to print the sql version
|
||||
# we can use an in-memory database as we just want to query the version
|
||||
sql.init('')
|
||||
sql.init(':memory:')
|
||||
print(version.version())
|
||||
sys.exit(usertypes.Exit.ok)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user