mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-04-12 09:52:34 -05:00
Fix deprecated configuration getting with StashAPI
My bad, when I merged this into the repo on Oct 19th, I missed this deprecated stashapi call, and the stashapi change had taken effect on Oct 11th, so... bad timing. Luckily it's a one line fix.
This commit is contained in:
@@ -223,7 +223,7 @@ if __name__ == '__main__':
|
||||
#If the extensions are in the config, use them. Otherwise pull them from stash.
|
||||
extensions = config.getlist('Config', 'Extensions')
|
||||
if not extensions:
|
||||
stashConfig = stash.graphql_configuration()
|
||||
stashConfig = stash.get_configuration()
|
||||
extensions = stashConfig['general']['videoExtensions'] + stashConfig['general']['imageExtensions'] + stashConfig['general']['galleryExtensions']
|
||||
|
||||
pollIntervalStr = config.get('Config', 'PollInterval')
|
||||
|
||||
Reference in New Issue
Block a user