Focus on UTF8

master
poing 2016-09-08 11:01:10 +09:00
parent dab19ede42
commit f143d5fd00
1 changed files with 3 additions and 7 deletions

View File

@ -1,6 +1,6 @@
#! /usr/bin/env python -#!/usr/bin/env python2
# -*- coding: utf-8 -*- -# vim: set et sw=4:
# vim:fenc=utf-8
""" """
.. module:: agi .. module:: agi
:synopsis: This module contains functions and classes to implment AGI scripts in python. :synopsis: This module contains functions and classes to implment AGI scripts in python.
@ -27,10 +27,6 @@ import sys
import pprint import pprint
import re import re
import signal import signal
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
DEFAULT_TIMEOUT = 2000 # 2sec timeout used as default for functions that take timeouts DEFAULT_TIMEOUT = 2000 # 2sec timeout used as default for functions that take timeouts
DEFAULT_RECORD = 20000 # 20sec record time DEFAULT_RECORD = 20000 # 20sec record time