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 2014-11-03 05:50:09 +00:00
parent 644329c0b8
commit 87234bda05

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 = {}