Skip to content

Commit

Permalink
Merge pull request #1113 from rafalp/fix-misago-core-setup-script-name
Browse files Browse the repository at this point in the history
Fix script name passed to startproject execution in misago.core.setup
  • Loading branch information
rafalp committed Oct 25, 2018
2 parents f37fbb9 + 05f19da commit 882f514
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misago/core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ def start_misago_project():
if len(args) < 1:
parser.error("project_name must be specified")

dir = None
directory = None
if len(args) == 2:
dir = args[1]
directory = args[1]

project_name = validate_project_name(parser, args[0])

argv = [
'start-misago.py', 'startproject', project_name, dir,
'misago-start.py', 'startproject', project_name, directory,
'--template=%s' % get_misago_project_template()
]

Expand Down

0 comments on commit 882f514

Please sign in to comment.