diff options
| author | Declan Hoare <[email protected]> | 2020-04-16 22:58:21 +1000 |
|---|---|---|
| committer | Declan Hoare <[email protected]> | 2020-04-16 23:10:44 +1000 |
| commit | 7000fce72fbec34c6f4957a59d4146cc7148ee59 (patch) | |
| tree | 5affe93d68a7fbcc6cf85a4d9a3eedecc730d1f7 /myconfig.py | |
| download | shiftgears-7000fce72fbec34c6f4957a59d4146cc7148ee59.tar.gz shiftgears-7000fce72fbec34c6f4957a59d4146cc7148ee59.tar.bz2 shiftgears-7000fce72fbec34c6f4957a59d4146cc7148ee59.zip | |
Initial Release
Diffstat (limited to 'myconfig.py')
| -rw-r--r-- | myconfig.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/myconfig.py b/myconfig.py new file mode 100644 index 0000000..2297a26 --- /dev/null +++ b/myconfig.py @@ -0,0 +1,10 @@ +import os +import json + +import mapping + +os.chdir(os.path.dirname(os.path.realpath(__file__))) +with open("config.json") as f: + config = json.load(f) + +mappings = mapping.load_mappings("mappings") |
