mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Port calibre.startup to use unicode_literals
This commit is contained in:
parent
fc2409cdd8
commit
81e037e38c
@ -1,4 +1,4 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function, unicode_literals
|
||||||
__license__ = 'GPL v3'
|
__license__ = 'GPL v3'
|
||||||
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
|
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
|
||||||
__docformat__ = 'restructuredtext en'
|
__docformat__ = 'restructuredtext en'
|
||||||
@ -229,7 +229,7 @@ if not _run_once:
|
|||||||
def test_lopen():
|
def test_lopen():
|
||||||
from calibre.ptempfile import TemporaryDirectory
|
from calibre.ptempfile import TemporaryDirectory
|
||||||
from calibre import CurrentDir
|
from calibre import CurrentDir
|
||||||
n = u'f\xe4llen'
|
n = 'f\xe4llen'
|
||||||
print('testing lopen()')
|
print('testing lopen()')
|
||||||
|
|
||||||
if iswindows:
|
if iswindows:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user