diff --git a/moonraker_obico/server_conn.py b/moonraker_obico/server_conn.py index a8b0b24..ac2fc04 100644 --- a/moonraker_obico/server_conn.py +++ b/moonraker_obico/server_conn.py @@ -136,6 +136,7 @@ def post_printer_event_to_server(self, event_title, event_text, event_type='PRIN def post_pic_to_server(self, webcam_config, viewing_boost=False): if not webcam_config: _logger.warn('webcam_config is None. Skipping jpeg posting to server. Ill-configured [webcam] section?') + return try: files = {'pic': capture_jpeg(webcam_config)}