Skip to content

Commit fcc9260

Browse files
committed
Changed relative paths to absolute
1 parent d5d8ec6 commit fcc9260

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

PDFScraper/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
__version__ = "1.0.9"
1+
__version__ = "1.0.10"
22

33
import argparse
44
import logging
5+
import os
56
import shutil
67
import signal
78
import sys
@@ -101,7 +102,7 @@ def signal_handler(sign, frame):
101102
signal.signal(signal.SIGINT, signal_handler)
102103

103104
# Read PDFs from path
104-
docs = Documents(args["path"])
105+
docs = Documents(path=os.path.abspath(args["path"]))
105106
logger.info('Finding PDFs in ' + docs.path)
106107
try:
107108
find_pdfs_in_path(docs, docs.path)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"yattag==1.14.0",
5050
],
5151
name="PDFScraper",
52-
version="1.0.9",
52+
version="1.0.10",
5353
author="Erik Kastelec",
5454
author_email="erikkastelec@gmail.com",
5555
description="PDF text and table search",

0 commit comments

Comments
 (0)