view backend/sqlalchemy/util.py @ 252:39080a271bf3 pyqt5

fix the makefile
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sun, 05 Nov 2017 02:49:14 +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