Update ftp_client.py
This commit is contained in:
parent
7a1bc2ee39
commit
3030849bd2
|
|
@ -140,7 +140,7 @@ class FtpPSClient:
|
|||
"database": "db",
|
||||
"path": "path",
|
||||
}
|
||||
file_regx = prefix_dict.get(data_type) + "_(.+)_20\d+_\d+\."
|
||||
file_regx = prefix_dict.get(data_type) + r"_(.+)_20\d+_\d+\."
|
||||
sub_search = re.search(file_regx, file_name)
|
||||
sub_path_name = ""
|
||||
if sub_search:
|
||||
|
|
|
|||
Loading…
Reference in New Issue