Update ftp_client.py

This commit is contained in:
Mr Chen 2024-11-29 18:46:15 +08:00
parent 7a1bc2ee39
commit 3030849bd2
1 changed files with 1 additions and 1 deletions

View File

@ -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: