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

Calling /api/state with no printer attached causes server 500. #679

Closed
foofoodog opened this issue Dec 13, 2014 · 1 comment
Closed

Calling /api/state with no printer attached causes server 500. #679

foofoodog opened this issue Dec 13, 2014 · 1 comment

Comments

@foofoodog
Copy link

Running this from source with no printer attached. Might not be a valid scenario. Still, the thing blows up and all other code in that routine has "is not None" checks so I figure it is an omission.

Need to check self._temp is not None before iterating tool in self._temp.keys() in printer.py getCurrentTemperatures.

if self._temp is not None:
    for tool in self._temp.keys():

@GitIssueBot I love cookies

@foosel
Copy link
Member

foosel commented Jan 12, 2015

Fixed via backported commit from devel branch (please mention the branch/version next time, thanks), see 684d12e

@foosel foosel closed this as completed Jan 12, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants