Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6ffm70 patch 1 #5

Merged
merged 4 commits into from
Oct 21, 2021
Merged

6ffm70 patch 1 #5

merged 4 commits into from
Oct 21, 2021

Conversation

6ffm70
Copy link
Contributor

@6ffm70 6ffm70 commented Oct 20, 2021

note to self: don't copy code changes from an ssh terminal w/o line break

@6ffm70
Copy link
Contributor Author

6ffm70 commented Oct 20, 2021

rework of #4 (comment)

@@ -152,6 +154,10 @@ def print_failed_event(self):
def print_paused_event(self):
return self._settings.get_boolean(["printpausedevent"])

@property
def filament_change_event(self):
return self._settings.get(["filamentchangeevent"])
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tested your changeset and it works really well!

The only small thing I've found during code review is in this line (line 159) here. I think it would be better to use get_boolean instead of get here. I think this change has no operational impact (at least I couldn't find any), but I think it would be more consistent to use get_boolean here.

Apart from that everything looks fine!

Many thanks for this really nice contribution!

@Property
    def filament_change_event

Your patience and feedback to a learner is much appreciated
@bbernhard
Copy link
Owner

looks good 🎉 Thanks!

@bbernhard bbernhard merged commit 7ce8c6e into bbernhard:master Oct 21, 2021
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