Skip to content

Commit

Permalink
fix (gui): clean unused env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
reycn authored Dec 24, 2024
1 parent 71632d7 commit f94c6e1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pdf2zh/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@
client_key = os.getenv("PDF2ZH_CLIENT_KEY")
server_key = os.getenv("PDF2ZH_SERVER_KEY")

# Check if everything unconfigured
if os.getenv("PDF2ZH_INIT") is not False:
service_map = {
"Google": GoogleTranslator,
}


# Public demo control
def verify_recaptcha(response):
Expand Down

0 comments on commit f94c6e1

Please sign in to comment.