diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-07-02 02:01:46 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-07-02 02:01:46 -0700 |
commit | dbf7cb1a442e2c0823d853ca310395048496996d (patch) | |
tree | 2e6fa840f1b4f41f8a348a21569ddedf4a213668 /examples/custom_contentviews.py | |
parent | 6032c4f2352260d32032800a2ff694339e2af6b2 (diff) | |
download | mitmproxy-dbf7cb1a442e2c0823d853ca310395048496996d.tar.gz mitmproxy-dbf7cb1a442e2c0823d853ca310395048496996d.tar.bz2 mitmproxy-dbf7cb1a442e2c0823d853ca310395048496996d.zip |
update examples: no decoded() anymore :tada:
Diffstat (limited to 'examples/custom_contentviews.py')
-rw-r--r-- | examples/custom_contentviews.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_contentviews.py b/examples/custom_contentviews.py index 05ebeb69..8a57bf74 100644 --- a/examples/custom_contentviews.py +++ b/examples/custom_contentviews.py @@ -20,7 +20,7 @@ class ViewPigLatin(contentviews.View): docinfo = d.getroottree().docinfo def piglify(src): - words = string.split(src) + words = src.split() ret = '' for word in words: idx = -1 |