Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
buffer committed Feb 14, 2012
1 parent aaa6065 commit a5f87ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Logging/MAEC.py
Expand Up @@ -124,7 +124,7 @@ def normalize_snippet(self, snippet):
_snippet += 4 * '\t'

try:
return _snippet.encode('ascii')
return _snippet.encode('ascii', 'ignore')
except:
return _snippet.decode('ascii', 'ignore')

Expand Down
2 changes: 1 addition & 1 deletion src/thug.py
Expand Up @@ -54,11 +54,11 @@ def usage(self):
Options:
-h, --help \tDisplay this help information
-u, --useragent=
-o, --output= \tLog to a specified file
-l, --local
-v, --verbose \tEnable verbose mode
-d, --debug \tEnable debug mode
-u, --useragent= \tSelect a user agent (see below for values, default: xpie61)
Available User-Agents:
"""
Expand Down

0 comments on commit a5f87ca

Please sign in to comment.