update requirements, add missing lines

This commit is contained in:
KF7EEL 2021-07-29 15:47:40 -07:00
parent f91a85b241
commit 756443f7af
2 changed files with 3 additions and 0 deletions

View File

@ -1471,6 +1471,8 @@ if __name__ == '__main__':
UNIT = rules_module.UNIT UNIT = rules_module.UNIT
else: else:
spec = importlib.util.spec_from_file_location("module.name", cli_args.RULES_FILE)
rules_module = importlib.util.module_from_spec(spec)
try: try:
spec.loader.exec_module(rules_module) spec.loader.exec_module(rules_module)
logger.info('(ROUTER) Routing bridges file found and bridges imported: %s', cli_args.RULES_FILE) logger.info('(ROUTER) Routing bridges file found and bridges imported: %s', cli_args.RULES_FILE)

View File

@ -15,3 +15,4 @@ pymysql
folium folium
requests requests
libsrc libsrc
resettabletimer