@@ -172,7 +172,7 @@ def handler(signum, frame):
172172 if getargs .convert :
173173 checkcompressfile = pyfoxfile .CheckCompressionSubType (
174174 input_file , fnamedict , True )
175- if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
175+ if ((IsNestedDict (fnamedict ) and checkcompressfile in fnamedict ) or (IsSingleDict (fnamedict ) and checkcompressfile == fnamedict ['format_magic' ])):
176176 tmpout = pyfoxfile .RePackFoxFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pyfoxfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , getargs .verbose , False )
177177 else :
178178 tmpout = pyfoxfile .PackFoxFileFromInFile (
@@ -185,7 +185,7 @@ def handler(signum, frame):
185185 if getargs .convert :
186186 checkcompressfile = pyfoxfile .CheckCompressionSubType (
187187 input_file , fnamedict , True )
188- if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
188+ if ((IsNestedDict (fnamedict ) and checkcompressfile in fnamedict ) or (IsSingleDict (fnamedict ) and checkcompressfile == fnamedict ['format_magic' ])):
189189 pyfoxfile .RePackFoxFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pyfoxfile .compressionlistalt ,
190190 False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , getargs .verbose , False )
191191 else :
@@ -200,7 +200,7 @@ def handler(signum, frame):
200200 checkcompressfile = pyfoxfile .CheckCompressionSubType (
201201 input_file , fnamedict , True )
202202 tempout = BytesIO ()
203- if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
203+ if ((IsNestedDict (fnamedict ) and checkcompressfile in fnamedict ) or (IsSingleDict (fnamedict ) and checkcompressfile == fnamedict ['format_magic' ])):
204204 tmpout = pyfoxfile .RePackFoxFile (input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pyfoxfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , False , False )
205205 else :
206206 tmpout = pyfoxfile .PackFoxFileFromInFile (
@@ -214,7 +214,7 @@ def handler(signum, frame):
214214 if getargs .convert :
215215 checkcompressfile = pyfoxfile .CheckCompressionSubType (
216216 input_file , fnamedict , True )
217- if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
217+ if ((IsNestedDict (fnamedict ) and checkcompressfile in fnamedict ) or (IsSingleDict (fnamedict ) and checkcompressfile == fnamedict ['format_magic' ])):
218218 tmpout = pyfoxfile .FoxFileListFiles (input_file , "auto" , 0 , 0 , getargs .skipchecksum , fnamedict , False , getargs .verbose , False )
219219 else :
220220 tmpout = pyfoxfile .InFileListFiles (input_file , getargs .verbose , fnamedict , False , False )
@@ -227,7 +227,7 @@ def handler(signum, frame):
227227 checkcompressfile = pyfoxfile .CheckCompressionSubType (
228228 input_file , fnamedict , True )
229229 tempout = BytesIO ()
230- if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
230+ if ((IsNestedDict (fnamedict ) and checkcompressfile in fnamedict ) or (IsSingleDict (fnamedict ) and checkcompressfile == fnamedict ['format_magic' ])):
231231 tmpout = pyfoxfile .RePackFoxFile (input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pyfoxfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], {}, fnamedict , False , False , False )
232232 else :
233233 tmpout = pyfoxfile .PackFoxFileFromInFile (
0 commit comments