[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] fix: v3bwfile: Convert consensus count to string
commit 702327c871c5665031f94789de89651a7598fe13
Author: juga0 <juga@xxxxxxxxxx>
Date: Mon Mar 11 13:05:10 2019 +0000
fix: v3bwfile: Convert consensus count to string
It was forgotten in #28566
---
sbws/lib/v3bwfile.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 521f304..4788840 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -483,7 +483,7 @@ class V3BWLine(object):
if getattr(r, 'relay_in_recent_consensus_count', None)]
if consensuses_count:
consensus_count = max(consensuses_count)
- kwargs['relay_in_recent_consensus_count'] = consensus_count
+ kwargs['relay_in_recent_consensus_count'] = str(consensus_count)
measurements_attempts = \
[r.relay_recent_measurement_attempt_count for r in results
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits