Skip to content

Commit

Permalink
More flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Aug 15, 2023
1 parent 207d123 commit 6cfb9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cflib/crazyflie/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def __init__(self, ident=0, data=None):
self.name = strs[1]

metadata = data[0]
if type(metadata) == str:
if isinstance(metadata, str):
metadata = ord(metadata)

# If the fouth byte (1 << 4) (0x10) is set we have extended
Expand Down

0 comments on commit 6cfb9b9

Please sign in to comment.