split display centre into actions, display and numpad input. lots of refactoring along the way

This commit is contained in:
ben-caldwell
2017-12-27 23:27:43 +13:00
parent 6570ad3823
commit 4b2c086e7d
25 changed files with 1190 additions and 959 deletions

View File

@@ -66,7 +66,7 @@ def get_path_to_browser():
logger = setup_logging()
######## sets paths and constants ########
PATH_TO_DATA_OBJECTS = get_the_current_dir_path()
PATH_TO_DATA_OBJECTS = '{}\\data_objects\\'.format(get_the_current_dir_path())
PATH_TO_BROWSER = get_path_to_browser()
EMPTY_BANK = dict(name='',location='',length=-1,start=-1,end=-1)
DEV_MODE = read_json(SETTINGS_JSON)[6]["value"]