Skip to content

Commit

Permalink
TempyPgae Title fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hrabal committed Dec 31, 2020
1 parent e5b6bdb commit 898a898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tempy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys
from types import ModuleType

__version__ = "1.5.1"
__version__ = "1.5.2"
VERSION = tuple(map(int, __version__.split(".")))

if sys.version_info < (3, 3):
Expand Down
2 changes: 1 addition & 1 deletion tempy/widgets/tempypage.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ def set_keywords(self, keywords):

def set_title(self, title):
"""Changes the <meta> title tag."""
self.head.title.attr(content=title)
self.head.title(title)
return self

0 comments on commit 898a898

Please sign in to comment.