Fix error on url scheme for odoo deploy

This commit is contained in:
Fabien Meghazi 2014-06-04 00:45:28 +02:00
parent c5129fcfe5
commit 8a4511277c
1 changed files with 1 additions and 1 deletions

View File

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