From 3cef063aa447dcd8668421f2dd6a5ddaa707eb36 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Fri, 26 Sep 2025 22:09:13 +0300 Subject: [PATCH] upload adjustment --- app/connections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/connections.py b/app/connections.py index bc94e456..b7389d31 100644 --- a/app/connections.py +++ b/app/connections.py @@ -513,7 +513,7 @@ def upload_data(*, settings, download_type=DownloadType.ALL, callback=log, done_ services_path = settings.services_path if download_type is DownloadType.SATELLITES: - ftp.upload_xml(data_path, sat_xml_path, STC_XML_FILE, callback) + ftp.upload_xml(data_path, sat_xml_path, files_filter or STC_XML_FILE, callback) if s_type is SettingsType.NEUTRINO_MP and download_type is DownloadType.WEBTV: ftp.upload_xml(data_path, sat_xml_path, WEB_TV_XML_FILE, callback) @@ -614,7 +614,7 @@ def get_upload_info_message(download_type): elif download_type is DownloadType.ALL: return "All user data will be reloaded!" elif download_type is DownloadType.SATELLITES: - return "Satellites.xml file will be updated!" + return "*.xml file will be updated!" elif download_type is DownloadType.PICONS: return "Picons will be updated!" return ""