File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -496,11 +496,13 @@ def on_results_directory_changed(self):
496496
497497 def on_data_file_path_changed (self ):
498498 self .path_check = None
499- text = self .data_file_path_input .text ()[1 :- 1 ]
499+ text = self .data_file_path_input .text ()
500+ #text = self.data_file_path_input.text()[1:-1]
500501 # Remove whitespace and single or double quotes
501- file_string = '' .join (text .split ()).replace ("'" ,"" ).replace ('"' ,'' )
502+ # file_string = ''.join(text.split()).replace("'","").replace('"','')
502503 # Get it back in list form
503- file_list = file_string .split (',' )
504+ #file_list = file_string.split(',')
505+ file_list = ast .literal_eval (text )
504506 data_paths = [Path (f ) for f in file_list ]
505507
506508 if self .check_valid_binary_path (data_paths ):
You can’t perform that action at this time.
0 commit comments