Skip to content

Commit

Permalink
fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
tell-k committed Feb 18, 2018
1 parent 593cbc9 commit 2b12794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This middleware provides a ``uadetector.useragent.UserAgent`` object to handling
ua.from_pc #=> True
ua.from_smartphone #=> False
return [ua.os.encoding('utf-8')]
return [ua.os.encode('utf-8')]
# Apply middleware
application = UADetector(app)
Expand Down

0 comments on commit 2b12794

Please sign in to comment.