mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:53:29 +02:00
Remove ispy3 conditional
This commit is contained in:
parent
520adcafc0
commit
34b9c1f178
1 changed files with 1 additions and 6 deletions
|
|
@ -7,17 +7,12 @@
|
|||
|
||||
import os, re, mimetypes, subprocess
|
||||
from collections import defaultdict
|
||||
from plistlib import loads
|
||||
|
||||
from calibre.ptempfile import TemporaryDirectory
|
||||
from calibre.constants import ispy3
|
||||
from calibre.utils.icu import numeric_sort_key
|
||||
from polyglot.builtins import iteritems, string_or_bytes
|
||||
|
||||
if ispy3:
|
||||
from plistlib import loads
|
||||
else:
|
||||
from biplist import readPlistFromString as loads
|
||||
|
||||
application_locations = ('/Applications', '~/Applications', '~/Desktop')
|
||||
|
||||
# Public UTI MAP {{{
|
||||
|
|
|
|||
Loading…
Reference in a new issue