Skip to content

Commit

Permalink
Add output when reading the same spool & filament
Browse files Browse the repository at this point in the history
  • Loading branch information
bofh69 committed Mar 9, 2024
1 parent ad93c22 commit cd5a946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nfc2klipper.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def set_spool_and_filament(url: str, spool: int, filament: int):
set_spool_and_filament.old_spool == spool
and set_spool_and_filament.old_filament == filament
):
print("Read same spool & filament")
return

print(f"Sending spool #{spool}, filament #{filament} to klipper")
Expand Down

0 comments on commit cd5a946

Please sign in to comment.