Skip to content

Commit

Permalink
Changed file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth-Vader committed Dec 3, 2017
1 parent 49706fb commit 0584440
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions download_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
try:
from Tkinter import Tk
import tkFileDialog as filedialog
except ImportError:
from tkinter import Tk, filedialog


def select_directory():
root = Tk()
root.withdraw()
current_directory = filedialog.askdirectory()
return current_directory
2 changes: 1 addition & 1 deletion moboff.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import subprocess
import json
import click
from utils import select_directory
from download_utils import select_directory

real_path_of_MobOff = os.path.dirname(os.path.realpath(__file__))

Expand Down

0 comments on commit 0584440

Please sign in to comment.