fix sstv read file logic logic

This commit is contained in:
zxkmm 2024-03-11 00:43:12 +08:00
parent 1f26de2f4a
commit 8c9e64e61f
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ SSTVTXView::SSTVTXView(
// Search for valid bitmaps
system_file_list = scan_root_files(u"/SYS/SSTV", u"*.bmp");
user_file_list = scan_root_files(u"/USR/SSTV", u"*.bmp");
if (!system_file_list.size() || !user_file_list.size()) {
if (!system_file_list.size() && !user_file_list.size()) {
file_error = true;
return;
}