Skip to content

Commit b7796cc

Browse files
committed
fix pyright
1 parent b6b8f49 commit b7796cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PyFlyt/core/aviary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def __init__(
158158
self.drone_type = repeat(drone_type)
159159

160160
# store the drone options
161-
if isinstance(drone_options, (tuple, list)):
161+
if isinstance(drone_options, Sequence):
162162
self.drone_options = drone_options
163163
else:
164164
self.drone_options = repeat(drone_options)

0 commit comments

Comments
 (0)