diff --git a/CHANGELOG.md b/CHANGELOG.md index 13b01a5..92a68f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ Change Log ========================== +2.9.2 +-------------------------- + +- Invoke `python3` instead of `python` to run `cot` command itself. + + 2.9.1 -------------------------- diff --git a/cot b/cot index d4ae060..abaf8a5 100755 --- a/cot +++ b/cot @@ -1,5 +1,4 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- +#!/usr/bin/env python3 """ cot @@ -38,7 +37,7 @@ from subprocess import Popen, PIPE, CalledProcessError # meta data -__version__ = '2.9.1' +__version__ = '2.9.2' __description__ = 'command-line utility for CotEditor.' @@ -47,12 +46,6 @@ APPLICATION_NAME = 'CotEditor' WAIT_INTERVAL = 1.0 -# set encoding for file path -if sys.version_info < (3, 0): - reload(sys) - sys.setdefaultencoding('utf8') - - # MARK: Style class Style: