Minor bug fix

This commit is contained in:
Bernardo Damele 2010-01-29 19:32:02 +00:00
parent 767c67e37a
commit e8b0fd90c8
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ class UPX:
pollProcess(process)
upxStdout, upxStderr = process.communicate()
if (self, hasattr('__upxTempExe')):
if hasattr(self, '__upxTempExe'):
os.remove(self.__upxTempExe.name)
msg = "failed to compress the file"