diff --git a/coreplugins/dronedb/api_views.py b/coreplugins/dronedb/api_views.py index 589f7abf..1b4323bc 100644 --- a/coreplugins/dronedb/api_views.py +++ b/coreplugins/dronedb/api_views.py @@ -26,7 +26,7 @@ VALID_IMAGE_EXTENSIONS = ['.tiff', '.tif', '.png', '.jpeg', '.jpg'] def is_valid(file): _, file_extension = path.splitext(file) - return file_extension.lower() in VALID_IMAGE_EXTENSIONS or file == 'gcp_list.txt' + return file_extension.lower() in VALID_IMAGE_EXTENSIONS or file == 'gcp_list.txt' or file == 'geo.txt' def get_settings(request): ds = get_current_plugin().get_user_data_store(request.user)