Merge branch 'sr/fix-file-used-in-version-calculation'

Signed-off-by: Elijah Newren <newren@gmail.com>
pull/305/head
Elijah Newren 3 years ago
commit d8e858aeca

@ -1597,7 +1597,7 @@ class GitUtils(object):
@staticmethod
def print_my_version():
with open(sys.argv[0], 'br') as f:
with open(__file__, 'br') as f:
contents = f.read()
# If people replaced @@LOCALEDIR@@ string to point at their local
# directory, undo it so we can get original source version.

Loading…
Cancel
Save