kenwoodjw 2019-03-05 17:24:30 +08:00
commit c7a9c0dc4c
1 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@
def str2dict(str1):
dict1 = {}
for iterms in str1.split('|'):
key,value = iterms.split(':'):
key,value = iterms.split(':')
dict1[key] = value
return dict1
```