瀏覽代碼

wxGUI/animation: fix removing wrong files

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58348 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 年之前
父節點
當前提交
c78a200a9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/animation/utils.py

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

@@ -248,7 +248,7 @@ def HashCmd(cmd):
 
 def HashCmds(cmds):
     """!Returns a hash from list of commands."""
-    name = '_'.join([item for sublist in cmds for item in sublist])
+    name = ';'.join([item for sublist in cmds for item in sublist])
     return hashlib.sha1(name).hexdigest()