Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf9f477

Browse files
committedDec 25, 2016
Fixing arguments.
1 parent f641c41 commit cf9f477

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎nikola/plugins/misc/post_encryption.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def wrap_encrypt(path, password):
5050
with io.open(path, 'w+', encoding='utf8') as outf:
5151
outf.write(data)
5252

53-
def _handle_post_compiled(self, source, dest, post):
53+
def _handle_post_compiled(self, data):
54+
dest = data['dest']
55+
post = data['post']
5456
"""Encrypt post if password is set."""
5557
if post.meta('password'):
5658
# TODO: get rid of this feature one day (v8?; warning added in v7.3.0.)

0 commit comments

Comments
 (0)
Please sign in to comment.