Skip to content

Commit

Permalink
chore: update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
style77 committed Jan 21, 2024
1 parent 81a4955 commit 4ff47ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import queue
import os
from threading import Thread
import tkinter as tk
from deep_translator import GoogleTranslator
Expand All @@ -12,7 +13,7 @@


class App:
config = Config("config.json")
config = Config(os.environ.get("CONFIG_PATH", "config.json"))
recognizer = sr.Recognizer()
provider = recognizer.recognize_google
translation_provider = GoogleTranslator(
Expand Down
2 changes: 1 addition & 1 deletion app/ui/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TrayIcon:
def __init__(self):
menu_options = ()

path_icon = r"app\assets\logo.ico"
path_icon = r"logo.ico"

default_stop_callback = lambda _: os._exit(0) # noqa

Expand Down

0 comments on commit 4ff47ae

Please sign in to comment.