Load modular configs for Books + Engines
Produce some verification of correctness for those configs Begin future client auto-updating things, with new config fields client_repo_url, and client_repo_ref specifically.
This commit is contained in:
1 parent
5d8704d896
commit
37cc4a5b96
9 files changed
+157
-53
No files matched your search
+1
-1
@@ -125,7 +125,7 @@ class TimeControl(object):
|
||||
|
||||
|
||||
def read_git_credentials(engine):
|
||||
fname = 'credentials.%s' % (engine.replace(' ', '').lower())
|
||||
fname = 'Config/credentials.%s' % (engine.replace(' ', '').lower())
|
||||
if os.path.exists(fname):
|
||||
with open(fname) as fin:
|
||||
return { 'Authorization' : 'token %s' % fin.readlines()[0].rstrip() }
|
||||
|
||||
Reference in new issue
Block a user