Skip to content

Commit 88d3c9c

Browse files
committed
happy tests
1 parent 358963a commit 88d3c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/pyscript/state.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async def register_persist(cls, var_name):
223223
cls.persisted_vars[var_name] = this_entity
224224
try:
225225
restore_data.async_restore_entity_added(this_entity)
226-
except TypeError as e:
226+
except TypeError:
227227
restore_data.async_restore_entity_added(var_name)
228228

229229
@classmethod

0 commit comments

Comments
 (0)