Mercurial > hg > Feedworm
view backend/sqlalchemy/util.py @ 229:f0b5bdce1189
fix the preferences dialog after update to the new style api
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 02 Jul 2014 18:20:56 +0200 |
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