Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
8 changes: 4 additions & 4 deletions readmdict.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,11 @@ def passcode(s):

# use GUI to select file, default to extract
if not args.filename:
import Tkinter
import tkFileDialog
root = Tkinter.Tk()
import tkinter
import tkinter.filedialog
root = tkinter.Tk()
root.withdraw()
args.filename = tkFileDialog.askopenfilename(parent=root)
args.filename = tkinter.filedialog.askopenfilename(parent=root)
args.extract = True

if not os.path.exists(args.filename):
Expand Down