소스 검색

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 년 전
부모
커밋
1c78cf5397
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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