What about:
grass.run_command('g.copy ', raster='{},{}'.format(variable, 'mapname')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190307/a557ddf1/attachment-0001.html>