mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[deviantart] workaround for integer client_id values (#4924)
This commit is contained in:
parent
a37b7759bc
commit
9951c112f8
@ -1005,6 +1005,8 @@ class DeviantartOAuthAPI():
|
|||||||
|
|
||||||
self.client_id = extractor.config("client-id")
|
self.client_id = extractor.config("client-id")
|
||||||
if self.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")
|
self.client_secret = extractor.config("client-secret")
|
||||||
else:
|
else:
|
||||||
self.client_id = self.CLIENT_ID
|
self.client_id = self.CLIENT_ID
|
||||||
|
Loading…
Reference in New Issue
Block a user