Compare commits
2 Commits
15b05eb4cf
...
2c2920d7b5
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c2920d7b5 | |||
|
|
7c65fb0d97 |
@@ -13,7 +13,7 @@ minio_client = Minio(
|
|||||||
)
|
)
|
||||||
|
|
||||||
def get(url):
|
def get(url):
|
||||||
with urlopen('https://example.com') as response:
|
with urlopen(url) as response:
|
||||||
data = response.read().decode('utf-8')
|
data = response.read().decode('utf-8')
|
||||||
return loads(data)
|
return loads(data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user