소스 검색

g.gui.animation: fix typo in formatting string (merge from trunk, https://trac.osgeo.org/grass/changeset/69490)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@69492 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 8 년 전
부모
커밋
a431a26ce1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gui/wxpython/animation/g.gui.animation.py

+ 1 - 1
gui/wxpython/animation/g.gui.animation.py

@@ -105,7 +105,7 @@ def main():
         layer = AnimLayer()
         layer.mapType = 'vector'
         layer.name = vect
-        layer.cmd = ['d.vect', 'map={name=}'.format(name=vect.split(',')[0])]
+        layer.cmd = ['d.vect', 'map={name}'.format(name=vect.split(',')[0])]
         layerList.AddLayer(layer)
     if strds:
         layer = AnimLayer()