Merge branch 'master' of github.com:hansenerd/blogtopoid
This commit is contained in:
commit
ffd8aebbff
4 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
|PyPI version| |Build Status|
|
||||
|PyPI version| |Build Status| |Dependency Status|
|
||||
|
||||
blogtopoid
|
||||
==========
|
||||
|
@ -51,3 +51,5 @@ TODO
|
|||
:target: https://pypi.python.org/pypi/blogtopoid
|
||||
.. |Build Status| image:: https://travis-ci.org/hansenerd/blogtopoid.png?branch=master
|
||||
:target: https://travis-ci.org/hansenerd/blogtopoid
|
||||
.. |Dependency Status| image:: https://gemnasium.com/hansenerd/blogtopoid.svg
|
||||
:target: https://gemnasium.com/hansenerd/blogtopoid
|
||||
|
|
|
@ -8,8 +8,6 @@ import pkg_resources
|
|||
from argparse import ArgumentParser
|
||||
|
||||
|
||||
#hashstore = Hashstore('hashstore.json')
|
||||
|
||||
def main():
|
||||
""" run blogtopoid.
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ class Post(object):
|
|||
# rewrite relative img-srcs to full paths.
|
||||
d = PyQuery(self.body)
|
||||
for img in d.find('img'):
|
||||
if not '/' in img.attrib['src']:
|
||||
if '/' not in img.attrib['src']:
|
||||
img.attrib['src'] = '{}{}/{}'.format(config.blogurl,
|
||||
self.outputpath,
|
||||
img.attrib['src'])
|
||||
|
|
|
@ -6,4 +6,4 @@ cssmin==0.2.0
|
|||
docutils==0.11
|
||||
markdown2==2.2.1
|
||||
pyquery==1.2.8
|
||||
python-slugify==1.0
|
||||
python-slugify==0.0.7
|
||||
|
|
Reference in a new issue