Browse Source

temporal: another fix of calling pygrass in aggregation method

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61597 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 years ago
parent
commit
12c5e8516c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/python/temporal/aggregation.py

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

@@ -223,7 +223,7 @@ def aggregate_by_topology(granularity_list,  granularity,  map_list,  topo_list,
 
     # Dummy process object that will be deep copied
     # and be put into the process queue
-    r_series = pymod.Module("r.series", output="spam", method=method,
+    r_series = pymod.Module("r.series", output="spam", method=[method],
                             overwrite=overwrite, quiet=True, run_=False,
                             finish_=False)
     g_copy = pymod.Module("g.copy", rast=['spam', 'spamspam'],