-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
global name 'CustomTimeFormat' is not defined error #12
Comments
Hi @MisterGlass |
Now I am receiving an error that |
Hi @MisterGlass |
HI @MisterGlass |
I only had time for a quick test but it seems to be working now. Thank you! |
Describe the bug
I noticed this error in my logs while developing with the virtual printer. It appears the calculate_eta function is using a global that is set in the event handler, and there is a race condition.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I think this bug can be avoided my moving the global instantiation to the class init function. That would ensure it is always set.
Screenshots
N/A
Environment information:
Additional context
The text was updated successfully, but these errors were encountered: