def main(): Log.info('Strat initializing....') Log.info('Debug enable: {}', Log.get_debug_info()[0]) Log.debug(1, 'Debug level: {}', Log.get_debug_info()[1]) bot_class() Log.info('Bot is now running!') while True: time.sleep(30)
def main(): Log.info('Strat initializing....') Log.info('Debug enable: {}', Log.get_debug_info()[0]) Log.debug(1, 'Debug level: {}', Log.get_debug_info()[1]) bot_class() Log.info('Bot is now running!') if Config.git.switch: Log.info('Starting BackupSQL daemon') BackupSQL.sql_backup_daemon().start() Log.info('BackupSQL daemon is now running') while True: time.sleep(30)