Merge pull request #3256 from byarmis/fix/byarmis/3253

Resolve error detecting Python version
This commit is contained in:
Gina Häußge authored and GitHub committed 2019-09-04 10:01:43 +02:00
commit 0611329a6d
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -107,6 +107,7 @@ date of first contribution):
* [Steven Spungin](https://github.com/flamenco)
* [Piotr Usewicz](https://github.com/pusewicz)
* [Aliaksei Pilko](https://github.com/aliaksei135)
* [Ben Yarmis](https://github.com/byarmis)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
+1 -1
View File
@@ -123,7 +123,7 @@ def get_python_version_string():
# Debian has the python version set to 2.7.15+ which is not PEP440 compliant (bug 914072)
if version_string.endswith("+"):
version_string = python_version[:-1]
version_string = version_string[:-1]
return version_string