Commit Graph

7 Commits

Author SHA1 Message Date
Dominik V. Salonen 01b19333ba Fuck that. Apparently I can't set put args in this order but too lazy to reorganize 2018-03-20 22:22:09 +01:00
Dominik V. Salonen d5a2a2a82e Set default source for print_log() 2018-03-20 22:14:58 +01:00
Dominik V. Salonen 95bb5e18b0 Remove pointless space 2018-03-20 19:33:56 +01:00
Dominik V. Salonen e1c91a44ab Make print_log() at least 5% less shit 2018-03-20 19:32:20 +01:00
Dominik V. Salonen e798886b7d Overhaul logging and do database creation
* print_log() now accepts a True/False to decide if a message should be printed
* Pass the config['DEBUG'] boolean to some of the print_log statements
* Add timestamps to log messages
* Change the source levels on some log messages to something more fitting
* Add a time_only option to the date/time string generator (Not sure why I even kept the old option but meh)
* Implement a "better than nothing" database-creation sequence
2018-03-20 19:19:26 +01:00
Dominik V. Salonen 250adf01cf Move auth function to cut some lines 2016-09-23 10:57:06 +02:00
Dominik V. Salonen 3d59f949cf Much better 2016-02-02 10:10:45 +01:00