mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 11:20:15 +01:00
get refactor working on the pi
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user