major rewrite
This commit is contained in:
@@ -8,13 +8,9 @@ import xml.dom.minidom
|
||||
import logging,coloredlogs
|
||||
import aiohttp, aiofiles, asyncio
|
||||
|
||||
import sys
|
||||
sys.path.append("./py2lib")
|
||||
sys.path.append("./Util")
|
||||
sys.path.append("./records")
|
||||
import bit
|
||||
import MachineProductCfg as MPC
|
||||
import LFRecord as LFR
|
||||
import py2Lib.bit
|
||||
import util.machineProductCfg as MPC
|
||||
import records.lfRecord as LFR
|
||||
|
||||
l = logging.getLogger(__name__)
|
||||
coloredlogs.install()
|
||||
@@ -35,7 +31,7 @@ for i in MPC.getMetroCities():
|
||||
|
||||
# Open the config file and make it accessible via "cfg"
|
||||
import json
|
||||
with open("conf.json", "r") as file:
|
||||
with open("config.json", "r") as file:
|
||||
cfg = json.load(file)
|
||||
|
||||
apiKey = cfg["twcApiKey"]
|
||||
|
||||
Reference in New Issue
Block a user