Skip to content

Commit 6c3702c

Browse files
authored
Merge pull request #385 from dvd-dev/python3.14
Update pour python 3.14
2 parents 82eab33 + 486a094 commit 6c3702c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyhilo/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _convert_phases(self, phases: dict[str, Any]) -> None:
118118
except TypeError:
119119
setattr(self, phase, value)
120120
self.phases_list.append(phase)
121-
for phase in self.__annotations__:
121+
for phase in type(self).__annotations__:
122122
if phase not in self.phases_list:
123123
# On t'aime Carl
124124
setattr(self, phase, datetime(2099, 12, 31, tzinfo=timezone.utc))

0 commit comments

Comments
 (0)