Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
7dJx1qP committed Feb 13, 2024
1 parent 3dc519f commit 37c473e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import json
import log
import os
import pathlib
import sys
from audit_performer_urls import audit_performer_urls
try:
Expand All @@ -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 } } }""")
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 37c473e

Please sign in to comment.