Fix missing branch field in DEFAULT dict

Should fix an error raised on line 951 (SHORT_VERSION_PY % DEFAULT) during Octoprint setup when there's no version info. More info here: https://groups.google.com/forum/#!topic/deltabot/8udyUsJ1c9M
This commit is contained in:
Colin Wallace committed 2014-11-03 05:50:09 +00:00
1 parent 644329c0b8
commit 87234bda05
1 file changed
+1 -1
+1 -1
View File
@@ -809,7 +809,7 @@ def get_versions(default={}, verbose=False):
"""
DEFAULT = {"version": "unknown", "full": "unknown"}
DEFAULT = {"version": "unknown", "full": "unknown", "branch": ""}
def versions_from_file(filename):
versions = {}