Mercurial > hg > Feedworm
view backend/sqlalchemy/util.py @ 258:4ca1fac32dde
Pull the constant of days to keep feed entries into the abstract class
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 12 Mar 2019 02:39:18 +0100 |
parents | bb3c851b18b1 |
children |
line wrap: on
line source
# -*- coding: utf-8 -*- import sys def databaseLoggingEnabled(): loggingEnabled = False for arg in sys.argv: if arg == "--databaseLogging": loggingEnabled = True return loggingEnabled