diff --git a/yli/io.py b/yli/io.py index 467cfb8..a71a297 100644 --- a/yli/io.py +++ b/yli/io.py @@ -23,7 +23,7 @@ import io import lzma import pickle -def pickle_write_encrypted(df, fname, salt=None): +def pickle_write_encrypted(df, fname): """ Write the DataFrame to an encrypted file @@ -33,8 +33,7 @@ def pickle_write_encrypted(df, fname, salt=None): """ # Get random salt - if salt is None: - salt = get_random_bytes(16) + salt = get_random_bytes(16) # Serialise Pandas and compress pickle_pt = io.BytesIO()