Skip to content

Commit

Permalink
Claude's bug. not mine. ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethjiang committed Sep 23, 2024
1 parent ee73801 commit d8d44d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moonraker_obico/moonraker_conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def find_all_thermal_presets(self):
data = self.api_get('server/database/item', raise_for_status=False, namespace='mainsail', key='presets') or {}
for preset in data.get('value', {}).get('presets', {}).values():
try:
if 'gcode' in preset and preset['gcode'].trim():
if 'gcode' in preset and preset['gcode'].strip():
continue # We don't support presets using gcode for now to keep things simple

preset_name = preset['name']
Expand Down

0 comments on commit d8d44d2

Please sign in to comment.