Improve handling of platforms commands for telemetry

This commit is contained in:
Ivan Kravets
2015-04-28 13:13:17 +01:00
parent bdcf89bf32
commit 7b80e17664

View File

@ -96,7 +96,7 @@ class MeasurementProtocol(TelemetryBase):
if not args: if not args:
return return
if args[0] in ("lib", "serialports", "settings"): if args[0] in ("lib", "platforms", "serialports", "settings"):
cmd_path = args[:2] cmd_path = args[:2]
else: else:
cmd_path = args[:1] cmd_path = args[:1]