Browse Source

Don't encrypt any MOUL files at all.

This should be done by a build tool, eg UruManifest </shamelessplug>
pull/235/head
Adam Johnson 4 years ago
parent
commit
2cff0d9464
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 3
      korman/exporter/outfile.py

3
korman/exporter/outfile.py

@ -249,7 +249,8 @@ class OutputFiles:
backing_stream = stream backing_stream = stream
# No sense in wasting time encrypting data that isn't going to be used in the export # No sense in wasting time encrypting data that isn't going to be used in the export
if not bogus: # Also, don't encrypt any MOUL files at all.
if not bogus and self._version != pvMoul:
enc = kwargs.get("enc", None) enc = kwargs.get("enc", None)
if enc is not None: if enc is not None:
stream = plEncryptedStream(self._version) stream = plEncryptedStream(self._version)

Loading…
Cancel
Save