parent
6ca6271170
commit
6519ac5cca
@ -32,6 +32,7 @@ import textwrap
|
|||||||
import urllib
|
import urllib
|
||||||
import collections
|
import collections
|
||||||
import base64
|
import base64
|
||||||
|
import os.path
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import secrets
|
import secrets
|
||||||
@ -348,7 +349,7 @@ def _asciidoc_fallback_path(html_path):
|
|||||||
|
|
||||||
for path in asciidoc_paths:
|
for path in asciidoc_paths:
|
||||||
try:
|
try:
|
||||||
return utils.read_file(path)
|
return utils.read_file(os.path.normpath(path))
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user