diff --git a/openlp/core/display/screens.py b/openlp/core/display/screens.py index 34b915e31..efb32d366 100644 --- a/openlp/core/display/screens.py +++ b/openlp/core/display/screens.py @@ -256,7 +256,7 @@ class ScreenList(metaclass=Singleton): for number, screen_dict in screen_settings.items(): # Sometimes this loads as a string instead of an int number = int(number) - # Compare geometry, primarity of screen from settings with avilable screens + # Compare geometry, primary of screen from settings with available screens if self.has_screen(screen_dict): # If match was found, we're all happy, update with custom geometry, display info, if available self[number].update(screen_dict) diff --git a/openlp/plugins/presentations/presentationplugin.py b/openlp/plugins/presentations/presentationplugin.py index c4b50824f..ee3d78d17 100644 --- a/openlp/plugins/presentations/presentationplugin.py +++ b/openlp/plugins/presentations/presentationplugin.py @@ -137,7 +137,9 @@ class PresentationPlugin(Plugin): super().app_startup() presentation_paths = self.settings.value('presentations/presentations files') for path in presentation_paths: - self.media_item.clean_up_thumbnails(path, clean_for_update=True) + # check to see if the file exists before trying to process it. + if path.exists(): + self.media_item.clean_up_thumbnails(path, clean_for_update=True) self.media_item.list_view.clear() # Update the thumbnail scheme if needed if self.settings.value('presentations/thumbnail_scheme') != 'sha256file':