Przeglądaj źródła

Fix Attribute error on RasterNumpy class

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54768 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 12 lat temu
rodzic
commit
1c78cf5397
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/python/pygrass/raster/__init__.py

+ 1 - 1
lib/python/pygrass/raster/__init__.py

@@ -548,7 +548,7 @@ class RasterNumpy(np.memmap, RasterAbstractBase):
 
     def __init__(self, name, *args, **kargs):
         ## Private attribute `_fd` that return the file descriptor of the map
-        #self._fd = None
+        self._fd = None
         rows, cols = self.rows, self.cols
         RasterAbstractBase.__init__(self, name)
         self._rows, self._cols = rows, cols