Skip to content

Commit acfbe62

Browse files
nanonymebarthalion
authored andcommitted
Force self.url to always be a string
1 parent a9287b2 commit acfbe62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flat-manager-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class UsageException(Exception):
5151

5252
class ApiError(Exception):
5353
def __init__(self, response, body):
54-
self.url = response.url
54+
self.url = str(response.url)
5555
self.status = response.status
5656

5757
try:

0 commit comments

Comments
 (0)