Skip to content

Commit

Permalink
Fix issue with default folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTaques authored Jan 12, 2018
1 parent d7167b9 commit 8f53996
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MenuMusicMod-Creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
from appJar import gui

#set working directory for appJar icon
if getattr( sys, 'frozen', False ) :
if getattr( sys, 'frozen', False ):
os.chdir(sys._MEIPASS)
else :
dir_path = os.path.dirname(os.path.abspath(sys.executable))
else:
os.chdir(os.path.dirname(os.path.abspath(__file__)))

dir_path = os.path.dirname(os.path.abspath(__file__))
dir_path = os.path.dirname(os.path.abspath(__file__))

# return object class for create_folders()
class modloc(object):
Expand Down

0 comments on commit 8f53996

Please sign in to comment.