Skip to content
Permalink
Browse files

Fixes #1742

  • Loading branch information
da2x committed May 22, 2015
1 parent d0976cd commit e401785b4fde649b7208bd7029665030dad383fb
Showing with 2 additions and 0 deletions.
  1. +2 −0 nikola/plugins/command/status.py
@@ -47,6 +47,8 @@ def _execute(self, command, args):

timestamp_path = os.path.join(self.site.config["CACHE_FOLDER"], "lastdeploy")

last_deploy = None

try:
with io.open(timestamp_path, "r", encoding="utf8") as inf:
last_deploy = datetime.strptime(inf.read().strip(), "%Y-%m-%dT%H:%M:%S.%f")

0 comments on commit e401785

Please sign in to comment.
You can’t perform that action at this time.