Skip to content
Snippets Groups Projects
Commit 8a451127 authored by Fabien Meghazi's avatar Fabien Meghazi
Browse files

Fix error on url scheme for odoo deploy

parent c5129fcf
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment