From 37c473eaeef8879c35126abb0aa69c5d8022d311 Mon Sep 17 00:00:00 2001 From: 7dJx1qP <38586902+7dJx1qP@users.noreply.github.com> Date: Tue, 13 Feb 2024 02:53:48 -0500 Subject: [PATCH] code cleanup --- .../stashPerformerAuditTaskButton.py | 4 ---- .../stashPerformerAuditTaskButton.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.py b/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.py index 23ff3f1..7d83842 100644 --- a/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.py +++ b/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.py @@ -1,7 +1,5 @@ import json import log -import os -import pathlib import sys from audit_performer_urls import audit_performer_urls try: @@ -14,8 +12,6 @@ json_input = json.loads(sys.stdin.read()) name = json_input['args']['name'] -configpath = os.path.join(pathlib.Path(__file__).parent.resolve(), 'config.ini') - def get_database_config(): client = StashInterface(json_input["server_connection"]) result = client.callGraphQL("""query Configuration { configuration { general { databasePath, blobsPath, blobsStorage } } }""") diff --git a/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.yml b/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.yml index b7fe70e..d3e58ab 100644 --- a/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.yml +++ b/plugins/stashPerformerAuditTaskButton/stashPerformerAuditTaskButton.yml @@ -1,7 +1,7 @@ name: Stash Performer Audit Task Button # requires: stashUserscriptLibrary7dJx1qP description: Adds a button to the performers page to run the audit plugin task -version: 0.4.0 +version: 0.4.1 url: https://github.com/7dJx1qP/stash-plugins#stash-performer-audit-task-button ui: requires: