Skip to content

Fix docstring from FINISHED state to FINISH in states_info.py - #182

Merged
ohmdelta merged 1 commit into
BambuTools:mainfrom
JeMaNd-r:patch-1
Aug 13, 2026
Merged

Fix docstring from FINISHED state to FINISH in states_info.py#182
ohmdelta merged 1 commit into
BambuTools:mainfrom
JeMaNd-r:patch-1

Conversation

@JeMaNd-r

Copy link
Copy Markdown
Contributor

Description

Renamed state FINISHED to FINISH in docstring of GcodeState in states_info.py

I recreated an Enum myself for a Django model and based my states on the docstring (aka FINISHED) rather than the code (FINISH) - not knowing that there was a tiny difference. It caused my logic to fail because FINISHED was never returned by the printer and tests with FINISHED as state did not return the expected results - because printer apparently returns FINISH. I suggest to fix the docstring.

Printer

  • P1

Firmware Version

Not sure... I used a BambuLab P1S printer.

Type of change

  • Documentation (typos, code examples, or any documentation updates)

@ohmdelta
ohmdelta merged commit c34af6d into BambuTools:main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants