Skip to content

Commit

Permalink
Fix slight bug in setSite manage command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Sep 16, 2015
1 parent 8aad50a commit ddad61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tours/apps/tour/management/commands/setSite.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def add_arguments(self, parser):

def handle(self, *args, **options):

api_domain = 'http://api.%s' % options['domain'][1]
api_domain = options['domain'][0]

api_domain = api_domain.replace("http://", "")
api_domain = api_domain.replace("https://", "")
Expand Down

0 comments on commit ddad61c

Please sign in to comment.