From f90afb5041d572d89992f25e2f1ecf264954262c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 2 Mar 2021 14:44:33 -0500 Subject: [PATCH] Fix data parameter for apply_license If passing a file handle, correctly pass it through to the oem handler. Change-Id: I6686fe05c3ab7579edaa70a953d0db91ec7ef178 --- pyghmi/ipmi/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index 7e58e4d4..b7595f84 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -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)