mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 19:57:47 +00:00
Convert data tuple to a list
The data parameter is defaulted to a tuple, to avoid a TypeError this needs to be converted to a list before it can be concatenated with another list. Change-Id: Iba42196e9f9b9315b684a5ceadf16313f13fdd25
This commit is contained in:
parent
8ac1385f3c
commit
98798b2372
@ -717,7 +717,7 @@ class Session(object):
|
||||
if retry is None:
|
||||
retry = not self.servermode
|
||||
if self.servermode:
|
||||
data = [code] + data
|
||||
data = [code] + list(data)
|
||||
if netfn is None:
|
||||
netfn = self.clientnetfn
|
||||
if command is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user