Fix path and graphFrame issue. I could have sworn these were already fixed during the previous merge...

This commit is contained in:
blitzman
2017-02-25 19:06:39 -05:00
parent 6eddfd2694
commit 94c098cce3
2 changed files with 1 additions and 16 deletions

View File

@@ -53,21 +53,6 @@ except ImportError:
graphFrame_enabled = False
mplImported = False
class GraphFrame(wx.Frame):
def __init__(self, parent, style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE | wx.FRAME_FLOAT_ON_PARENT):
global graphFrame_enabled
global mplImported
self.mpl_version = int(mpl.__version__[0])
imp.find_module('matplotlib')
graphFrame_enabled = True
mplImported = True
except ImportError:
graphFrame_enabled = False
mplImported = False
pyfalog = Logger(__name__)

View File

@@ -185,7 +185,7 @@ if __name__ == "__main__":
else:
savePath_filename = "Pyfa.log"
savePath_Destination = config.getSavePath(savePath_filename)
savePath_Destination = os.path.join(config.savePath, savePath_filename)
try:
if options.debug: