hv/trace_dcp: Use 'elif' instead of 'if'

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2023-08-30 00:13:35 +02:00 committed by Hector Martin
parent 34b0204c27
commit 1d46073077

View file

@ -251,7 +251,7 @@ class EPICEp(AFKEp):
if sub.category == EPICCategory.REPORT:
self.handle_report(hdr, sub, fd)
if sub.category == EPICCategory.NOTIFY:
elif sub.category == EPICCategory.NOTIFY:
self.handle_notify(hdr, sub, fd)
elif sub.category == EPICCategory.REPLY:
self.handle_reply(hdr, sub, fd)