Foreign keys, bugfixes and output sanitation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user