Skip to content

Commit 94ea0d0

Browse files
committed
Use a path combining function to get the full path to the mods folder
1 parent 3b1c2ce commit 94ea0d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modloader/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ def get_mod_path():
1515
Returns:
1616
The full path to the mods folder
1717
"""
18-
# TODO: Use a path combining function
19-
return renpy.config.gamedir + "/mods/"
18+
return os.path.join(renpy.config.gamedir, "mods")
2019

2120

2221
def main():

0 commit comments

Comments
 (0)