Skip to content

Commit

Permalink
libmavconn: fix context.py.in
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Jun 22, 2016
1 parent ed3ef2b commit d3b02f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libmavconn/mavlink.context.py.in
Expand Up @@ -9,7 +9,8 @@ _COMMON = 'common'
_APM = 'ardupilotmega'

for dialect in IGNORE_DIALECTS:
MAVLINK_V20_DIALECTS.remove(dialect)
if dialect in MAVLINK_V20_DIALECTS:
MAVLINK_V20_DIALECTS.remove(dialect)

if _COMMON not in MAVLINK_V20_DIALECTS:
raise ValueError("common dialect not listed!")
Expand Down

0 comments on commit d3b02f5

Please sign in to comment.