telnet options

This commit is contained in:
Dmitriy Yefremov
2018-01-18 12:38:58 +03:00
parent 24c064b450
commit c5c88a8958
4 changed files with 16 additions and 9 deletions

View File

@@ -88,7 +88,8 @@ def upload_data(*, properties, download_type=DownloadDataType.ALL, remove_unused
for file_name in os.listdir(data_path):
if file_name == "satellites.xml":
continue
file_name, send_file(file_name, data_path, ftp)
if file_name in __DATA_FILES_LIST:
send_file(file_name, data_path, ftp)
if download_type is DownloadDataType.PICONS:
picons_path = properties.get("picons_dir_path")