summaryrefslogtreecommitdiff
path: root/examples/config_component.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/config_component.py')
-rwxr-xr-xexamples/config_component.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/config_component.py b/examples/config_component.py
index cbb8e628..7a28739f 100755
--- a/examples/config_component.py
+++ b/examples/config_component.py
@@ -27,6 +27,8 @@ from sleekxmpp.xmlstream.stanzabase import ET, registerStanzaPlugin
if sys.version_info < (3, 0):
reload(sys)
sys.setdefaultencoding('utf8')
+else:
+ raw_input = input
class Config(ElementBase):