summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-08-28 23:15:17 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-08-28 23:15:17 -0600
commit2b858a5f1b62ae76dddc1a0c0406cf1c20d5bc45 (patch)
treea3943c5d2d5b003495b0e66a744a54638cf68807
parent95cb13208dac4dcc32f4d32c987da6834cb6ba75 (diff)
fix: wrong timestamp variable name
-rw-r--r--src/pyssg/page.py2
1 files changed, 1 insertions, 1 deletions
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: