|
|
@ -930,10 +930,12 @@ class DeviantartOAuthAPI():
|
|
|
|
self.folders = extractor.config("folders", False)
|
|
|
|
self.folders = extractor.config("folders", False)
|
|
|
|
self.metadata = extractor.extra or extractor.config("metadata", False)
|
|
|
|
self.metadata = extractor.extra or extractor.config("metadata", False)
|
|
|
|
|
|
|
|
|
|
|
|
self.client_id = extractor.config(
|
|
|
|
self.client_id = extractor.config("client-id")
|
|
|
|
"client-id", self.CLIENT_ID)
|
|
|
|
if self.client_id:
|
|
|
|
self.client_secret = extractor.config(
|
|
|
|
self.client_secret = extractor.config("client-secret")
|
|
|
|
"client-secret", self.CLIENT_SECRET)
|
|
|
|
else:
|
|
|
|
|
|
|
|
self.client_id = self.CLIENT_ID
|
|
|
|
|
|
|
|
self.client_secret = self.CLIENT_SECRET
|
|
|
|
|
|
|
|
|
|
|
|
token = extractor.config("refresh-token")
|
|
|
|
token = extractor.config("refresh-token")
|
|
|
|
if token is None or token == "cache":
|
|
|
|
if token is None or token == "cache":
|
|
|
|