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 facb0e4

Browse files
committedDec 25, 2016
Fixing docstring.
1 parent d63d8e3 commit facb0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/plugins/misc/post_encryption.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def wrap_encrypt(path, password):
5151
outf.write(data)
5252

5353
def _handle_post_compiled(self, data):
54+
"""Encrypt post if password is set."""
5455
dest = data['dest']
5556
post = data['post']
56-
"""Encrypt post if password is set."""
5757
if post.meta('password'):
5858
# TODO: get rid of this feature one day (v8?; warning added in v7.3.0.)
5959
utils.LOGGER.warn("The post {0} is using the `password` attribute, which may stop working in the future.")

0 commit comments

Comments
 (0)
Please sign in to comment.