Fix the run error when create a new library on server by seaf-cli.

This commit is contained in:
ly1217 2018-11-27 02:19:06 -08:00
parent 082d7f8862
commit 17025e211f

View File

@ -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