diff --git a/src/temporal/t.rast.climatologies/t.rast.climatologies.py b/src/temporal/t.rast.climatologies/t.rast.climatologies.py index c98460b909..b43c307f26 100644 --- a/src/temporal/t.rast.climatologies/t.rast.climatologies.py +++ b/src/temporal/t.rast.climatologies/t.rast.climatologies.py @@ -88,6 +88,9 @@ def main(): + import grass.pygrass.modules as pymod + import grass.script as gscript + import grass.temporal as tgis options, flags = gscript.parser() strds = options["input"] output = options["output"] @@ -237,8 +240,4 @@ def main(): if __name__ == "__main__": - import grass.pygrass.modules as pymod - import grass.script as gscript - import grass.temporal as tgis - main()