mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
Fixed message parser library
This commit is contained in:
parent
1144fdee80
commit
ddf2ede927
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class AHAActions:
|
|||
fp = open(filename,'r')
|
||||
for i in fp.read().split('\n'):
|
||||
try:
|
||||
(key,value) = i.split('=')
|
||||
(key,value) = i.split('=',1)
|
||||
if msg.has_key(key) == False:
|
||||
msg[key]=[]
|
||||
msg[key].append(value)
|
||||
|
|
Loading…
Reference in a new issue