full path for config.json opening
import json
+from os import path
-with open('config.json', 'r') as fp:
+config_file = path.join(path.dirname(path.abspath(__file__)), "config.json")
+with open(config_file, 'r') as fp:
CONFIG = json.load(fp)
\ No newline at end of file
