From 1e0bdc8b8cdf8ce2b93408dc75e3bf84fa97bb7d Mon Sep 17 00:00:00 2001 From: Matthias Urlichs Date: Mon, 28 Jan 2019 20:35:16 +0100 Subject: [PATCH] octoprint => octoprint serve for the trivial case of starting "run" without arguments --- run | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run b/run index 8b393d5eb..87b89316a 100755 --- a/run +++ b/run @@ -21,4 +21,6 @@ I don't know anything about). sys.path.insert(0, os.path.join(basedir, "src")) import octoprint +if len(sys.argv) == 1: + sys.argv.append("serve") octoprint.main()