From a440a726f6d3a25fe2eeac94786580f462a314a7 Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Sun, 24 Jul 2016 23:08:45 +0800 Subject: [PATCH] fix get node_id --- db_transfer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_transfer.py b/db_transfer.py index ae7a134..b5abd55 100644 --- a/db_transfer.py +++ b/db_transfer.py @@ -426,7 +426,7 @@ class Dbv3Transfer(DbTransfer): node_info_dict = {} for column in range(len(nodeinfo)): - node_info_dict[node_info_keys[column]] = r[column] + node_info_dict[node_info_keys[column]] = nodeinfo[column] self.cfg['transfer_mul'] = float(node_info_dict['traffic_rate']) cur = conn.cursor()