Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#1647] Fix Python error when play was run without arguments

  • Loading branch information...
commit b16c4da94a77d36b7b5f5de29673d6e9d05987f3 1 parent 71b79cf
Igmar Palsenberg authored Notalifeform committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  play
View
2  play
@@ -71,6 +71,8 @@ try:
# ~~~~~~~~~~~~~~~~~~~~~~ Where is the application?
application_path = None
remaining_args = []
+ if len(sys.argv) == 1:
+ application_path = os.getcwd()
if len(sys.argv) == 2:
application_path = os.getcwd()
remaining_args = sys.argv[2:]
Please sign in to comment.
Something went wrong with that request. Please try again.