Fix read_detector_data usage in app.py

This commit is contained in:
usov_i 2020-03-23 11:22:58 +01:00
parent b1179ce01c
commit 5d1fb85d91

View File

@ -67,7 +67,7 @@ def update_image():
def filelist_callback(_attr, _old, new): def filelist_callback(_attr, _old, new):
global curent_h5_data, current_index global curent_h5_data, current_index
data = pyzebra.read_detector_data(new) data, _, _, _ = pyzebra.read_detector_data(new)
curent_h5_data = data curent_h5_data = data
current_index = 0 current_index = 0
update_image() update_image()