From 2b858a5f1b62ae76dddc1a0c0406cf1c20d5bc45 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Mon, 28 Aug 2023 23:15:17 -0600 Subject: fix: wrong timestamp variable name --- src/pyssg/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pyssg/page.py b/src/pyssg/page.py index d39d8ef..ae88a67 100644 --- a/src/pyssg/page.py +++ b/src/pyssg/page.py @@ -41,7 +41,7 @@ class Page: self.previous: Page | None = None def __lt__(self, other): - return self.ctimestamp < other.ctimestamp + return self.cts < other.cts def __get_meta(self, var: str, or_else: str | list[str] = ['']) -> str | list[str] | Any: -- cgit v1.2.3-70-g09d2