Fix error on url scheme for odoo deploy
This commit is contained in:
parent
c5129fcfe5
commit
8a4511277c
|
@ -84,7 +84,7 @@ class Deploy(Command):
|
|||
self.session.verify = False
|
||||
|
||||
try:
|
||||
if not args.url.startswith('http://'):
|
||||
if not args.url.startswith(('http://', 'https://')):
|
||||
args.url = 'https://%s' % args.url
|
||||
result = self.deploy_module(args.path, args.url, args.login, args.password, args.db)
|
||||
print(result)
|
||||
|
|
Loading…
Reference in New Issue