diff --git a/rophako/settings.py b/rophako/settings.py index cbb2fe9..3491357 100644 --- a/rophako/settings.py +++ b/rophako/settings.py @@ -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."""