#11 Added log before file-existence check, to try spot error.
This commit is contained in:
parent
f95c6c3d8d
commit
f8e1305c08
|
|
@ -100,6 +100,7 @@ func main() {
|
|||
issueName := RemoveBadCharacters(issue.Name)
|
||||
|
||||
completeName := mydir + "/issue/" + publicationName + " - " + issueName + ".pdf"
|
||||
fmt.Println("Checking if issue exists: " + completeName)
|
||||
if fileExists(completeName) {
|
||||
fmt.Println("Issue already found: " + completeName)
|
||||
continue
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -24,7 +24,7 @@ margin-left:auto;
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<object type="image/svg+xml" data="SVG_PATH" ></object>
|
||||
<object type="image/svg+xml" data="SVG_PATH</object>
|
||||
|
||||
<script>
|
||||
window.onload = fixpage;
|
||||
|
|
@ -37,7 +37,7 @@ margin-left:auto;
|
|||
// fix chrome page bug
|
||||
fixHeight = parseInt(renderBlockInfo.height) + 1 + "px"
|
||||
|
||||
pageCss = `@page { size: \${renderBlockInfo.width} \${fixHeight} ; margin:0;}`
|
||||
pageCss = "@page { size: " + renderBlockInfo.width + " " + fixHeight +" ; margin:0;}"
|
||||
document.getElementById("page_style").innerHTML = pageCss
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue