Mercurial > hg > Feedworm
view backend/sqlalchemy/util.py @ 242:03e3ebb1d52f
Disable the use of a proxy when updating feeds - https traffic does not seem to work currently over a proxy.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 08 Jun 2015 19:20:46 +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