Write out git version information to a file, use in about box, remove all the other stuff until I can format it correctly

This commit is contained in:
blitzmann
2017-11-12 12:57:36 -05:00
parent d0235f6d93
commit df7dc30e7e
4 changed files with 41 additions and 27 deletions

View File

@@ -51,11 +51,17 @@ def getPyfaRoot():
return root
def getGitVersion():
with open(os.path.join(pyfaPath, 'gitversion')) as f:
version = f.readline()
return version
def getDefaultSave():
return os.path.expanduser(os.path.join("~", ".pyfa"))
def defPaths(customSavePath):
def defPaths(customSavePath=None):
global debug
global pyfaPath
global savePath