

def getRandomComic(self):
    'Background loop.'
    latest = xJson()
    self.getComic(random.randrange(latest['num']))

dataset/ETHPy150Open eivind88/xkcd/xkcd.py XkcdGetComicCommand.getRandomComic/original