diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2026-03-24 14:52:24 +0000 |
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2026-03-24 14:52:24 +0000 |
| commit | d0d10ab1c7179ab15a440f711909765140436851 (patch) | |
| tree | 7c816a3cdc23711cf58e501843836e78a28f16c0 /edaweb/app.py | |
| parent | 55a069d1de00d5cceb8a6e6978ef2e30bc434fe1 (diff) | |
| download | boymoder.blog-d0d10ab1c7179ab15a440f711909765140436851.tar.gz boymoder.blog-d0d10ab1c7179ab15a440f711909765140436851.zip | |
Changed the FFS counter from 'until' to 'since'
Diffstat (limited to 'edaweb/app.py')
| -rw-r--r-- | edaweb/app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/edaweb/app.py b/edaweb/app.py index a7a0b1a..ab2aa0c 100644 --- a/edaweb/app.py +++ b/edaweb/app.py @@ -27,6 +27,7 @@ def get_pfp_img(db:database.Database): if len(shown_images) == len(dbimg): shown_images = set() folder = set(dbimg).difference(shown_images) + print(folder) choice = random.choice(list(folder)) shown_images.add(choice) return choice @@ -68,7 +69,7 @@ def index(): return flask.render_template( "index.html.j2", **get_template_items("eden's site :3", db), - days_till_ffs = datetime.datetime(2025, 11, 8) - datetime.datetime.now(), + days_since_ffs = datetime.datetime.now() - datetime.datetime(2025, 11, 8), markdown = parser.parse_text(f.read())[0], featured_thoughts = db.get_featured_thoughts(), commits = services.get_recent_commits(db)[:15], |
