Indentation

This commit is contained in:
Peter Šurda 2017-01-13 15:53:47 +01:00
parent 93bdc3c800
commit 8d278182a7
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -90,8 +90,8 @@ def createSupportMessage(myapp):
githeadfile = path.join(paths.codePath(), '..', '.git', 'ORIG_HEAD')
if (path.isfile(githeadfile)):
try:
with open(githeadfile, 'rt') as githead:
version += " GIT " + githead.readline().rstrip()
with open(githeadfile, 'rt') as githead:
version += " GIT " + githead.readline().rstrip()
except IOError:
pass