Skip to content

Commit 6525d0a

Browse files
committed
fix: UserOverView.vortex_floor - missing maxFloorIndex key
1 parent f902f1d commit 6525d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyZUnivers/overview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def vortex_end_date(self) -> datetime:
6868

6969
@property
7070
def vortex_floor(self) -> int:
71-
if isinstance(self.__vortex_stats, Vortex) or not self.__vortex_stats['maxFloorIndex']:
71+
if isinstance(self.__vortex_stats, Vortex) or not 'maxFloorIndex' in self.__vortex_stats:
7272
return 0
7373

7474
if self.__vortex_stats['maxFloorIndex'] == 0:

0 commit comments

Comments
 (0)