Skip to content

Commit c18614f

Browse files
committed
Fix recursion
1 parent 0f5b92e commit c18614f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octoprint_filamentreload/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def get_template_configs(self):
6767

6868
@property
6969
def _filament_change(self):
70-
return getattr(self, '_filament_change', False)
70+
return self.__dict__.get('_filament_change', False)
7171

7272
def on_event(self, event, payload):
7373
# Early abort in case of out ot filament when start printing, as we

0 commit comments

Comments
 (0)