mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-12 17:11:20 +01:00
Fix status code not print bug
This commit is contained in:
parent
51ff9b48b6
commit
9f154b25d6
@ -13,7 +13,7 @@ def print_shards():
|
||||
if r.status_code >= 200 and r.status_code < 300:
|
||||
print("Suggested number of shards: {}".format(r.json().get("shards", 0)))
|
||||
else:
|
||||
print("Status Code: " + r.status_code)
|
||||
print("Status Code: {}".format(r.status_code))
|
||||
print(r.text)
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user