We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f992e6 commit 60e928dCopy full SHA for 60e928d
1 file changed
library/jma_amesh.py
@@ -14,7 +14,6 @@
14
15
import requests
16
from PIL import Image, ImageEnhance
17
-
18
from slackbot_settings import VERSION
19
20
@@ -96,7 +95,15 @@ def get_tile_image(
96
95
)
97
res = []
98
for url in urls:
99
- res.append(Image.open(BytesIO(requests.get(url, headers={'user-agent': f'hato-bot/{VERSION}'}).content)))
+ res.append(
+ Image.open(
100
+ BytesIO(
101
+ requests.get(
102
+ url, headers={"user-agent": f"hato-bot/{VERSION}"}
103
+ ).content
104
+ )
105
106
107
dst_image = Image.new(
108
"RGBA", (256 * (2 * around_tiles + 1), 256 * (2 * around_tiles + 1))
109
0 commit comments