Skip to content

Commit 8ae73a6

Browse files
committed
v0.8.4: Fix #44 (link checking absolute path images)
1 parent b048d54 commit 8ae73a6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dactyl/dactyl_link_checker.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ def checkLinks(offline=False):
199199
continue
200200

201201
src = img["src"]
202-
if "://" in src:
202+
if src[0] == "/":
203+
logger.warning("Skipping absolute image path %s in %s" %
204+
(src, fullPath))
205+
elif "://" in src:
203206
if offline:
204207
logger.info("Offline - Skipping remote image %s"%(endpoint))
205208
continue

dactyl/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.8.3'
1+
__version__ = '0.8.4'

0 commit comments

Comments
 (0)