Disallow specifying a salt for pickle_write_encrypted
This commit is contained in:
parent
12a0707998
commit
3626d3037f
@ -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,7 +33,6 @@ def pickle_write_encrypted(df, fname, salt=None):
|
||||
"""
|
||||
|
||||
# Get random salt
|
||||
if salt is None:
|
||||
salt = get_random_bytes(16)
|
||||
|
||||
# Serialise Pandas and compress
|
||||
|
Loading…
Reference in New Issue
Block a user