[deviantart] workaround for integer client_id values (#4924)

pull/4945/head
Mike Fährmann 9 months ago
parent a37b7759bc
commit 9951c112f8
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1005,6 +1005,8 @@ class DeviantartOAuthAPI():
self.client_id = extractor.config("client-id")
if self.client_id:
if not isinstance(self.client_id, str):
self.client_id = str(self.client_id)
self.client_secret = extractor.config("client-secret")
else:
self.client_id = self.CLIENT_ID

Loading…
Cancel
Save