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:
andrew authored and Andrew Grant committed 2023-11-16 20:25:11 -05:00
1 parent 5d8704d896
commit 37cc4a5b96
9 files changed
+157 -53

No files matched your search

+1 -1
View File
@@ -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() }