Update ftp_client.py

pull/632/head
Mr Chen 5 months ago
parent 7a1bc2ee39
commit 3030849bd2
  1. 2
      plugins/backup_ftp/class/ftp_client.py

@ -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…
Cancel
Save