Blog current year

pull/2/head
Noah 2015-07-09 23:23:44 -07:00
부모 2015530338
커밋 447711e995
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -29,6 +29,9 @@ class ConfigHandler(object):
basedir=basedir
)
self.photo.root_private = self.photo.root_private.format(basedir=basedir)
self.blog.copyright = self.blog.copyright.format(
year=datetime.datetime.utcnow().strftime("%Y")
)
def print_settings(self):
"""Pretty-print the contents of the configuration."""