From 93264c6b71288abe965ec4bf5c81cec9160148de Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Sat, 13 Apr 2019 10:11:25 +0530 Subject: [PATCH] Revert "perf: Remove unwanted check (#788)" (#790) This reverts commit 431e96909c1eac3496bbe304aac51299f538640d. --- bench/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/cli.py b/bench/cli.py index 4ff0367d..fd419d00 100755 --- a/bench/cli.py +++ b/bench/cli.py @@ -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"):