windows strikes again

This commit is contained in:
Kovid Goyal 2007-07-15 06:47:16 +00:00
parent 2f90fe68e0
commit 43066d6471
2 changed files with 5 additions and 4 deletions

View File

@ -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'

View File

@ -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
@ -133,8 +133,9 @@ def initialize(profile):
sys.stdout.flush()
contents = get_contents()
print 'done'
index = create_aggregator(contents)
profile['url'] = 'file://'+index
index = create_aggregator(contents)
profile['url'] = 'file:'+ ('' if iswindows else '//') +index
def finalize(profile):
global _tdir