octoprint => octoprint serve

for the trivial case of starting "run" without arguments
This commit is contained in:
Matthias Urlichs committed 2019-01-28 20:36:02 +01:00
1 parent b47b39af99
commit 1e0bdc8b8c
1 file changed
+2
+2
View File
@@ -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()