exemples/svghmi_csv_json_img_table/py_ext_0@py_ext/pyfile.xml
changeset 4060 d2f5eb3c7d6e
parent 4056 4b2de1a0fbf9
equal deleted inserted replaced
4059:03f007a175b5 4060:d2f5eb3c7d6e
    50         elif len(options) == 2 :
    50         elif len(options) == 2 :
    51             action, sent_path = options
    51             action, sent_path = options
    52             if action == 'onClick[acknowledge]':
    52             if action == 'onClick[acknowledge]':
    53                 if sent_path.endswith('.csv'):
    53                 if sent_path.endswith('.csv'):
    54                     PLCGlobals.FileName = sent_path
    54                     PLCGlobals.FileName = sent_path
       
    55                     pyext_csv_reload()
    55                 else:
    56                 else:
    56                     PLCGlobals.CurrentPath = path = sent_path
    57                     PLCGlobals.CurrentPath = path = sent_path
    57 
    58 
    58         ld = listdir(path)
    59         ld = listdir(path)
    59         ld.sort()
    60         ld.sort()