fix get node_id
This commit is contained in:
parent
b922d70a87
commit
2c4600cf0e
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ class Dbv3Transfer(DbTransfer):
|
|||
|
||||
cur = conn.cursor()
|
||||
|
||||
cur.execute("SELECT `traffic_rate` FROM ss_node where `id`='" + str(get_config().NODE_ID) + "'")
|
||||
cur.execute("SELECT `traffic_rate` FROM ss_node where `id`='" + str(self.cfg["node_id"]) + "'")
|
||||
nodeinfo = cur.fetchone()
|
||||
|
||||
if nodeinfo == None :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue