Merge pull request #474 from pimoroni/patch-inky-frame-random-joke

Inky Frame: Fix random joke for #462.
This commit is contained in:
Philip Howard 2022-07-27 14:25:43 +01:00 committed by GitHub
commit e8e8ecdf5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ uasyncio.get_event_loop().run_until_complete(network_manager.client(WIFI_CONFIG.
graphics = PicoGraphics(DISPLAY)
WIDTH, HEIGHT = graphics.get_bounds()
FILENAME = "random-joke.jpg"
FILENAME = "/sd/random-joke.jpg"
JOKE_IDS = "https://pimoroni.github.io/feed2image/jokeapi-ids.txt"
JOKE_IMG = "https://pimoroni.github.io/feed2image/jokeapi-{}-600x448.jpg"