diff --git a/src/libprs500/__init__.py b/src/libprs500/__init__.py index 93e9b0a830..cf92756157 100644 --- a/src/libprs500/__init__.py +++ b/src/libprs500/__init__.py @@ -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 " __appname__ = 'libprs500' diff --git a/src/libprs500/ebooks/lrf/web/newsweek.py b/src/libprs500/ebooks/lrf/web/newsweek.py index daf3a9641b..feb30a93cc 100644 --- a/src/libprs500/ebooks/lrf/web/newsweek.py +++ b/src/libprs500/ebooks/lrf/web/newsweek.py @@ -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