[GRASS-SVN] r64888 - grass-addons/grass7/gui/wxpython/wx.mwprecip

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 20 06:27:47 PDT 2015


Author: krejcmat
Date: 2015-03-20 06:27:47 -0700 (Fri, 20 Mar 2015)
New Revision: 64888

Modified:
   grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py
   grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py
Log:
fix init

Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py	2015-03-20 12:18:23 UTC (rev 64887)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/g.gui.mwprecip.py	2015-03-20 13:27:47 UTC (rev 64888)
@@ -1025,7 +1025,7 @@
             self.initTemporalMgr()
 
         GMessage(msg)
-        self.initgrassManagement()
+        #self.initgrassManagement()
 
     def initGrassLayerMgr(self):
         grassLayerMgr = {}
@@ -1047,7 +1047,6 @@
         print label
         GError(label)
 
-
 class MyApp(wx.App):
     def OnInit(self):
         frame = MyFrame(None, -1, "MW manager")

Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py	2015-03-20 12:18:23 UTC (rev 64887)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/mw3.py	2015-03-20 13:27:47 UTC (rev 64888)
@@ -3,7 +3,8 @@
 # __author__ = 'matt'
 
 from math import sin, cos, atan2, degrees, tan, sqrt
-import  shutil
+import shutil
+from datetime import datetime
 import psycopg2
 import time
 import math



More information about the grass-commit mailing list