diff --git a/direct/src/p3d/FileSpec.py b/direct/src/p3d/FileSpec.py index cdc1f3bd4c..d0c7ca8766 100644 --- a/direct/src/p3d/FileSpec.py +++ b/direct/src/p3d/FileSpec.py @@ -144,7 +144,7 @@ class FileSpec: return False if notify: - notify.info("hash check ok: %s" % (pathname)) + notify.debug("hash check ok: %s" % (pathname)) # The hash is OK after all. Change the file's timestamp back # to what we expect it to be, so we can quick-verify it @@ -191,7 +191,7 @@ class FileSpec: return False if notify: - notify.info("hash check ok: %s" % (pathname)) + notify.debug("hash check ok: %s" % (pathname)) # The hash is OK. If the timestamp is wrong, change it back # to what we expect it to be, so we can quick-verify it diff --git a/direct/src/p3d/PackageInfo.py b/direct/src/p3d/PackageInfo.py index d750bda154..cb9d28b3ce 100644 --- a/direct/src/p3d/PackageInfo.py +++ b/direct/src/p3d/PackageInfo.py @@ -1000,6 +1000,7 @@ class PackageInfo: continue targetPathname = Filename(self.getPackageDir(), file.filename) + targetPathname.setBinary() targetPathname.unlink() if not mf.extractSubfile(i, targetPathname): self.notify.warning("Couldn't extract: %s" % (file.filename))