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:
parent
644329c0b8
commit
87234bda05
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue