From 2784391227e85a818afa30dfed2ea86304de25c2 Mon Sep 17 00:00:00 2001 From: scruffynerf Date: Wed, 22 Nov 2023 01:18:43 -0500 Subject: [PATCH] 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. --- scripts/stash-watcher/watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/stash-watcher/watcher.py b/scripts/stash-watcher/watcher.py index 623c735..5eb8328 100644 --- a/scripts/stash-watcher/watcher.py +++ b/scripts/stash-watcher/watcher.py @@ -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')