We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b8f49 commit b7796ccCopy full SHA for b7796cc
PyFlyt/core/aviary.py
@@ -158,7 +158,7 @@ def __init__(
158
self.drone_type = repeat(drone_type)
159
160
# store the drone options
161
- if isinstance(drone_options, (tuple, list)):
+ if isinstance(drone_options, Sequence):
162
self.drone_options = drone_options
163
else:
164
self.drone_options = repeat(drone_options)
0 commit comments