Fixed "Open Mods-Folder" function

Was causing issues on Linux
This commit is contained in:
Fierelier 2019-06-08 09:54:56 +02:00
parent 99a1e8ed3c
commit 726fabdea1
1 changed files with 2 additions and 2 deletions

4
UniversalModloader.py Normal file → Executable file
View File

@ -208,9 +208,9 @@ def unloadMods(output = False):
def openModsFolder():
if areModsLoaded():
webbrowser.open("file:///" +originalModPath)
webbrowser.open("file://" +originalModPath)
else:
webbrowser.open("file:///" +modPath)
webbrowser.open("file://" +modPath)
def areModsLoaded():
if os.path.isdir(originalAppPath):