Fixes the organizationName issue in #225.

This commit is contained in:
Olivier Keshavjee 2017-11-21 23:11:08 +01:00
parent 8ff046b23b
commit ba4fe6b57a

View file

@ -16,9 +16,9 @@ faulthandler.enable()
def prepare(tests=False): def prepare(tests=False):
app = QApplication(sys.argv) app = QApplication(sys.argv)
app.setOrganizationName("manuskript"+"_tests" if tests else "") app.setOrganizationName("manuskript"+("_tests" if tests else ""))
app.setOrganizationDomain("www.theologeek.ch") app.setOrganizationDomain("www.theologeek.ch")
app.setApplicationName("manuskript"+"_tests" if tests else "") app.setApplicationName("manuskript"+("_tests" if tests else ""))
app.setApplicationVersion(getVersion()) app.setApplicationVersion(getVersion())
print("Running manuskript version {}.".format(getVersion())) print("Running manuskript version {}.".format(getVersion()))