view backend/sqlalchemy/util.py @ 240:1b98925facf6

Bugfix: use the existing _retrieveEntriesForSelectedFeed method to retrieve all articles when deleting a feed
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 28 Apr 2015 02:23:44 +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