Skip to content

Commit

Permalink
Make LSAT directory the working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
BGR-EGHA committed May 31, 2022
1 parent efa74cb commit 058bb2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions startMenu_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def start():
Gets called when LSAT starts.
Pynsist (the installer for windows) needs an entryfunction to create a usable installer.
"""
os.chdir(os.path.dirname(os.path.abspath(__file__)))
gdal.AllRegister()
app = QApplication(sys.argv)
splash_pix = QPixmap(':/icons/Icons/SplashScreen.png')
Expand Down

0 comments on commit 058bb2a

Please sign in to comment.