From 255fb12f88fce04cfcc3c1d07dfc69ce20a6f264 Mon Sep 17 00:00:00 2001 From: laharah Date: Sat, 4 Jun 2016 13:13:51 -0700 Subject: [PATCH] `u"" cleanup on cmd_usage.py --- src/wormhole/server/cmd_usage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wormhole/server/cmd_usage.py b/src/wormhole/server/cmd_usage.py index 8c12fe9..290a619 100644 --- a/src/wormhole/server/cmd_usage.py +++ b/src/wormhole/server/cmd_usage.py @@ -68,9 +68,9 @@ def show_usage(args): " ORDER BY `started` ASC LIMIT ?", (args.n,)) for row in c.fetchall(): - if row["type"] == u"rendezvous": + if row["type"] == "rendezvous": counters = rendezvous_counters - elif row["type"] == u"transit": + elif row["type"] == "transit": counters = transit_counters total_transit_bytes += row["total_bytes"] else: