Skip to content

Commit

Permalink
stupid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethjiang committed Jul 20, 2024
1 parent c616760 commit 2c38b9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moonraker_obico/server_conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 2c38b9f

Please sign in to comment.