From 962a05f137ea22c3eccfb19b2916175e36a8ffb3 Mon Sep 17 00:00:00 2001 From: BreakWa11 Date: Mon, 11 Apr 2016 09:37:42 +0800 Subject: [PATCH] fix loading obfs plugin on py3 --- shadowsocks/obfs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowsocks/obfs.py b/shadowsocks/obfs.py index 6adb855..f34c7c0 100644 --- a/shadowsocks/obfs.py +++ b/shadowsocks/obfs.py @@ -39,6 +39,7 @@ class server_info(object): class obfs(object): def __init__(self, method): + method = common.to_str(method) self.method = method self._method_info = self.get_method_info(method) if self._method_info: