Browse Source

temporal library: Fixed wrong check in _available_mapsets() function

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@66206 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 9 years ago
parent
commit
9f758885ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/python/temporal/c_libraries_interface.py

+ 1 - 1
lib/python/temporal/c_libraries_interface.py

@@ -302,7 +302,7 @@ def _available_mapsets(lock, conn, data):
                 char_list += mapset[c]
                 c += 1
             
-            if permission == 1 and permission == 1:
+            if permission >= 0 and in_search_path == 1:
                 mapset_list.append(char_list)
 
             libgis.G_debug(1, "c_library_server._available_mapsets: \n  mapset:  %s\n"\