fix mushroom

This commit is contained in:
tqchen
2014-02-24 23:19:58 -08:00
parent a5b37e0395
commit e58daa6d52
2 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ for l in open( 'dump.txt'):
if idx == -1:
fo.write(l)
else:
fid = int( l[idx+2:len(l)].split('>')[0])
fid = int( l[idx+2:len(l)].split('<')[0])
rl = l[0:idx]+'['+nmap[fid]+']' + l.split()[1].strip()+'\n'
fo.write(rl)