Foreign keys, bugfixes and output sanitation

This commit is contained in:
2026-08-28 10:22:05 +02:00
parent 9e35a1c099
commit 6896a00f31
26 changed files with 524 additions and 409 deletions
+5 -4
View File
@@ -273,9 +273,10 @@ if __name__ == "__main__":
db.disconnect()
else:
errno, errtxt = db.last_error()
messagebox(_("Database connection cannot be established.\n\n"
"Server: %s\nDatabase: %s\n"
"Error: %s (%d)"
) % (cfg['host'], cfg['db'], errtxt, errno), title="YMS")
gtkutils.messagebox(
_("Database connection cannot be established.\n\n"
"Server: %s\nDatabase: %s\n"
"Error: %s (%d)") % (cfg['host'], cfg['db'], errtxt, errno),
title="YMS")
# Another fine product of the sirius cybernetics corporation