Skip to content

Commit fbf7310

Browse files
authored
Merge pull request #11 from Synicix/master
Fixed bug with leaving developing code in part table stuff
2 parents 18c715e + 5d9c751 commit fbf7310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dj_gui_api_server/DJConnector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def list_tables(jwt_payload, schema_name):
7777
elif table_type == 'Computed':
7878
tables_dict_list['computed_tables'].append(dj.utils.to_camel_case(table_name))
7979
elif table_type == 'Part':
80-
table_name_parts = '__array_response__electrode_response'.split('__')
80+
table_name_parts = table_name.split('__')
8181
tables_dict_list['part_tables'].append(DJConnector.snake_to_camel_case(table_name_parts[1]) + '.' + DJConnector.snake_to_camel_case(table_name_parts[2]))
8282
else:
8383
print(table_name + ' is of unknown table type')

0 commit comments

Comments
 (0)