I guess I could just go down my keyboard and hit all of the special characters instead of do this one-by-one BS :)
This commit is contained in:
parent
bc67af89b6
commit
859166a41c
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ class Lexxer(shlex.shlex):
|
|||
self.quotes = '"'
|
||||
self.commenters = ''
|
||||
# This helps denote what constitutes a continuous token.
|
||||
self.wordchars += "=-@*!:'/."
|
||||
self.wordchars += "~`!@#$%^&*()-_+=[{]}|\\;:',<.>/?"
|
||||
|
||||
class IMC2Packet(object):
|
||||
"""
|
||||
|
|
@ -77,7 +77,6 @@ class IMC2Packet(object):
|
|||
self.destination = split_target_destination[1]
|
||||
elif counter > 4:
|
||||
# Populate optional data.
|
||||
print "TOK", token
|
||||
key, value = token.split('=', 1)
|
||||
self.optional_data.append((key, value))
|
||||
# Increment and continue to the next token (if applicable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue