mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Expand ~ in content-server --with-library
This commit is contained in:
parent
28b104d10d
commit
0fd842dd9a
@ -116,7 +116,7 @@ def main(args=sys.argv):
|
||||
print('No saved library path. Use the --with-library option'
|
||||
' to specify the path to the library you want to use.')
|
||||
return 1
|
||||
db = LibraryDatabase(opts.with_library)
|
||||
db = LibraryDatabase(os.path.expanduser(opts.with_library))
|
||||
server = LibraryServer(db, opts, show_tracebacks=opts.develop)
|
||||
server.start()
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user