We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 303e31e commit 5b4ff9eCopy full SHA for 5b4ff9e
editor/cli.py
@@ -5,9 +5,11 @@
5
6
def main():
7
if len(sys.argv) < 2:
8
- raise ValueError("Please specify a file.")
+ print("Please specify a file.")
9
+ return
10
elif not os.path.isdir(sys.argv[1]):
- raise ValueError("Please specify a valid directory.")
11
+ print("Please specify a valid directory.")
12
13
14
from .app import Application
15
app = Application(sys.argv[1])
0 commit comments