2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-31 05:17:39 +00:00

Fix data parameter for apply_license

If passing a file handle, correctly
pass it through to the oem handler.

Change-Id: I6686fe05c3ab7579edaa70a953d0db91ec7ef178
This commit is contained in:
Jarrod Johnson 2021-03-02 14:44:33 -05:00
parent 32f81a8cb8
commit f90afb5041

View File

@ -2068,4 +2068,4 @@ class Command(object):
def apply_license(self, filename, progress=None, data=None):
self.oem_init()
return self._oem.apply_license(filename, progress, data=None)
return self._oem.apply_license(filename, progress, data)