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:
scruffynerf
2023-11-22 01:18:43 -05:00
committed by GitHub
parent 44183dfee1
commit 2784391227

View File

@@ -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')