get refactor working on the pi

This commit is contained in:
langolierz
2018-01-06 00:40:16 +00:00
parent aceea6e186
commit bc8707f47c
5 changed files with 10 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ BANK_DATA_JSON = 'display_data.json'
NEXT_SLOT_JSON = 'next_bank_number.json'
SETTINGS_JSON = 'settings.json'
EMPTY_BANK = dict(name='', location='', length=-1, start=-1, end=-1)
PATH_TO_DATA_OBJECTS = '{}\\json_objects\\'.format(get_the_current_dir_path())
PATH_TO_DATA_OBJECTS = '{}/json_objects/'.format(get_the_current_dir_path())
def read_json(file_name):
with open(PATH_TO_DATA_OBJECTS + file_name) as data_file: