]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/AprioriSection.py
BaseTools: Handle the bytes and str difference
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / AprioriSection.py
index 55d99320c7eb4a1b18d1a1217666b12c4b0d660a..0a828278e88c971fdfef80f6939f703210a4ac2b 100644 (file)
@@ -53,7 +53,7 @@ class AprioriSection (object):
     #   @retval string      Generated file name\r
     #\r
     def GenFfs (self, FvName, Dict = {}, IsMakefile = False):\r
-        Buffer = BytesIO('')\r
+        Buffer = BytesIO()\r
         if self.AprioriType == "PEI":\r
             AprioriFileGuid = PEI_APRIORI_GUID\r
         else:\r