Skip to content

Commit

Permalink
Update trans.py
Browse files Browse the repository at this point in the history
  • Loading branch information
QianFuv authored May 23, 2024
1 parent bd79316 commit 63ab7fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trans.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import sys
import tkinter as tk
from tkinter import ttk, messagebox, Menu
import json
import configparser
import os
import re

script_dir = os.path.dirname(os.path.abspath(__file__))
script_dir = os.path.dirname(os.path.realpath(sys.executable))
CONFIG_FILE = os.path.join(script_dir, 'gui_config.ini')
file_path = os.path.join(script_dir, 'dict.json')

Expand Down

0 comments on commit 63ab7fa

Please sign in to comment.