diff options
Diffstat (limited to 'server.py')
| -rw-r--r-- | server.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -26,10 +26,9 @@ def show_area(): @get('/favicon.ico') def favicon(): - with open("data/favicon.ico", "rb") as \ - image: - f = image.read() - image_bytes = bytearray(f) + with open("data/favicon.ico", "rb") as image: + read_image = image.read() + image_bytes = bytearray(read_image) return image_bytes |
