From 94c098cce34693219b1e00a536873bb1f2438461 Mon Sep 17 00:00:00 2001 From: blitzman Date: Sat, 25 Feb 2017 19:06:39 -0500 Subject: [PATCH] Fix path and graphFrame issue. I could have sworn these were already fixed during the previous merge... --- gui/graphFrame.py | 15 --------------- pyfa.py | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/gui/graphFrame.py b/gui/graphFrame.py index 4e7dd5a07..addf23ad6 100644 --- a/gui/graphFrame.py +++ b/gui/graphFrame.py @@ -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__) diff --git a/pyfa.py b/pyfa.py index 2d2ac7506..f6c60397f 100755 --- a/pyfa.py +++ b/pyfa.py @@ -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: