mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
windows strikes again
This commit is contained in:
parent
2f90fe68e0
commit
43066d6471
@ -13,7 +13,7 @@
|
||||
## with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
''' E-book management software'''
|
||||
__version__ = "0.3.73"
|
||||
__version__ = "0.3.74"
|
||||
__docformat__ = "epytext"
|
||||
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
|
||||
__appname__ = 'libprs500'
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
import sys, urllib2, time, re, tempfile, os, shutil
|
||||
|
||||
from libprs500 import __appname__
|
||||
from libprs500 import __appname__, iswindows
|
||||
from libprs500.ebooks.BeautifulSoup import BeautifulStoneSoup
|
||||
from htmlentitydefs import name2codepoint
|
||||
|
||||
@ -134,7 +134,8 @@ def initialize(profile):
|
||||
contents = get_contents()
|
||||
print 'done'
|
||||
index = create_aggregator(contents)
|
||||
profile['url'] = 'file://'+index
|
||||
|
||||
profile['url'] = 'file:'+ ('' if iswindows else '//') +index
|
||||
|
||||
def finalize(profile):
|
||||
global _tdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user