From 91b10341c5429cc0d047ee887764be6239080549 Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Sat, 16 Jan 2016 19:29:37 +0300 Subject: [PATCH] meme fix --- lib/torrent2http/mimetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/torrent2http/mimetypes.py b/lib/torrent2http/mimetypes.py index eff6135..94b548a 100644 --- a/lib/torrent2http/mimetypes.py +++ b/lib/torrent2http/mimetypes.py @@ -246,7 +246,7 @@ class MimeTypes: except EnvironmentError: break try: - ctype = ctype.encode(default_encoding) # omit in 3.x! + ctype = ctype#.encode(default_encoding) # omit in 3.x! except UnicodeEncodeError: pass else: