Skip to content

Commit

Permalink
Revert "perf: Remove unwanted check (frappe#788)" (frappe#790)
Browse files Browse the repository at this point in the history
This reverts commit 431e969.
  • Loading branch information
netchampfaris authored Apr 13, 2019
1 parent 7843edc commit 93264c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def cli():
if len(sys.argv) > 2 and sys.argv[1] == "frappe":
return old_frappe_cli()

elif len(sys.argv) > 1:
elif len(sys.argv) > 1 and sys.argv[1] in get_frappe_commands():
return frappe_cmd()

elif len(sys.argv) > 1 and sys.argv[1] in ("--site", "--verbose", "--force", "--profile"):
Expand Down

0 comments on commit 93264c6

Please sign in to comment.