From 4ea2345eda0d6a609bb63e10d88671149cc9ee44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sun, 22 Sep 2013 15:31:55 +0200 Subject: [PATCH] Added .g to the allowed extensions for file uploads --- src/octoprint/gcodefiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/gcodefiles.py b/src/octoprint/gcodefiles.py index 472a6ba1..0c439bfa 100644 --- a/src/octoprint/gcodefiles.py +++ b/src/octoprint/gcodefiles.py @@ -17,7 +17,7 @@ from octoprint.events import eventManager from werkzeug.utils import secure_filename -SUPPORTED_EXTENSIONS=["gcode", "gco", "stl"] +SUPPORTED_EXTENSIONS=["gcode", "gco", "stl", "g"] class GcodeManager: def __init__(self):