🐛 Fix detection of tar.gz plugins as archive type

This commit is contained in:
cp2004 committed 2020-08-27 22:08:43 +01:00
1 parent 641f27af3c
commit bd7ed94b4a
1 file changed
+1 -1
@@ -94,7 +94,7 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin,
octoprint.plugin.BlueprintPlugin,
octoprint.plugin.EventHandlerPlugin):
ARCHIVE_EXTENSIONS = (".zip", ".tar.gz", ".tgz", ".tar")
ARCHIVE_EXTENSIONS = (".zip", ".tar.gz", ".tgz", ".tar", ".gz")
PYTHON_EXTENSIONS = (".py",)
# valid pip install URL schemes according to https://pip.pypa.io/en/stable/reference/pip_install/