Strip proposal number string

This commit is contained in:
usov_i 2020-11-02 16:28:17 +01:00
parent 7b6e6bf396
commit a6bcb8ffa1

View File

@ -65,7 +65,7 @@ def create():
js_data = ColumnDataSource(data=dict(cont=[], ext=[])) js_data = ColumnDataSource(data=dict(cont=[], ext=[]))
def proposal_textinput_callback(_attr, _old, new): def proposal_textinput_callback(_attr, _old, new):
ccl_path = os.path.join(PROPOSAL_PATH, new) ccl_path = os.path.join(PROPOSAL_PATH, new.strip())
ccl_file_list = [] ccl_file_list = []
for file in os.listdir(ccl_path): for file in os.listdir(ccl_path):
if file.endswith(".ccl"): if file.endswith(".ccl"):