Skip to content

Commit

Permalink
Fixing arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 25, 2016
1 parent f641c41 commit cf9f477
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nikola/plugins/misc/post_encryption.py
Expand Up @@ -50,7 +50,9 @@ def wrap_encrypt(path, password):
with io.open(path, 'w+', encoding='utf8') as outf:
outf.write(data)

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

0 comments on commit cf9f477

Please sign in to comment.