Fix issues with paths and linux / os x

This commit is contained in:
blitzman
2017-01-27 20:30:11 -05:00
parent cbf7f7d320
commit fb538027f7
2 changed files with 2 additions and 2 deletions

View File

@@ -879,7 +879,7 @@ class ItemEffects(wx.Panel):
"""
import os
file = config.getPyfaPath("eos\\effects\\%s.py" % event.GetText().lower())
file = config.getPyfaPath(os.path.join("eos" , "effects", "%s.py" % event.GetText().lower()))
if not os.path.isfile(file):
open(file, 'a').close()