From 81e037e38ce17312aec0ce14143ad68346e76573 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 15 May 2019 21:23:55 +0530 Subject: [PATCH] Port calibre.startup to use unicode_literals --- src/calibre/startup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/startup.py b/src/calibre/startup.py index 02ef35deee..ec3f5b5bbd 100644 --- a/src/calibre/startup.py +++ b/src/calibre/startup.py @@ -1,4 +1,4 @@ -from __future__ import print_function +from __future__ import print_function, unicode_literals __license__ = 'GPL v3' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __docformat__ = 'restructuredtext en' @@ -229,7 +229,7 @@ if not _run_once: def test_lopen(): from calibre.ptempfile import TemporaryDirectory from calibre import CurrentDir - n = u'f\xe4llen' + n = 'f\xe4llen' print('testing lopen()') if iswindows: