def _getBookCovers(self, **kwargs): if 'wait' in kwargs: getBookCovers() else: threading.Thread(target=getBookCovers, name='API-GETBOOKCOVERS', args=[]).start()
def _getBookCovers(self, **kwargs): if 'wait' in kwargs: bookwork.getBookCovers() else: threading.Thread(target=bookwork.getBookCovers, args=[]).start()