[GRASS-SVN] r66439 - grass-addons/grass7/gui/wxpython/wx.mwprecip
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 9 01:35:29 PDT 2015
Author: krejcmat
Date: 2015-10-09 01:35:29 -0700 (Fri, 09 Oct 2015)
New Revision: 66439
Modified:
grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py
grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py
Log:
wx.mwprecip:addons - insert lib path
Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py 2015-10-08 14:22:44 UTC (rev 66438)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py 2015-10-09 08:35:29 UTC (rev 66439)
@@ -1,14 +1,12 @@
#!/usr/bin/env python
-VERSION = 1.0
-
+VERSION = 1.1
+import sys,os
+sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'g.gui.mwprecip'))
import grass.script as grass
from mw_util import *
from mw3 import *
import tempfile
-import os
-import sys
import time
-
from core.gcmd import GMessage, GError
from gui_core import gselect
from core.gthread import gThread
Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py 2015-10-08 14:22:44 UTC (rev 66438)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py 2015-10-09 08:35:29 UTC (rev 66439)
@@ -7,8 +7,7 @@
import psycopg2
import time
import math
-import sys
-import os
+import sys ,os
from subprocess import PIPE
from pgwrapper import pgwrapper as pg
More information about the grass-commit
mailing list