mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove ispy3 conditional
This commit is contained in:
parent
520adcafc0
commit
34b9c1f178
@ -7,17 +7,12 @@ __copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
|
||||
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…
x
Reference in New Issue
Block a user