mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-08 11:57:44 +08:00
Fix the run error when create a new library on server by seaf-cli.
This commit is contained in:
parent
082d7f8862
commit
17025e211f
@ -715,10 +715,7 @@ def create_repo(url, token, args):
|
||||
|
||||
def seaf_create(args):
|
||||
'''Create a library'''
|
||||
conf_dir = DEFAULT_CONF_DIR
|
||||
if args.confdir:
|
||||
conf_dir = args.confdir
|
||||
conf_dir = abspath(conf_dir)
|
||||
conf_dir = _conf_dir(args)
|
||||
|
||||
# check username and password
|
||||
username = args.username
|
||||
|
Loading…
Reference in New Issue
Block a user