branding: Allow pulling persistdir from ENV values

Closes #32
This commit is contained in:
ave 2020-05-17 19:45:55 +03:00
parent a7f86633eb
commit 45ae1da7c0
Signed by: a
GPG Key ID: 398DD7BD03276F6D
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import os
import sys
fname = sys.argv[1]
persistdir = "/home/ave/distokrepos/versionlogs/"
persistdir = os.environ.get("DISTOK_VERSION_LOGS", "/root/distokrepos/versionlogs/")
def counterup(branch="base"):