From 3c60fd1752b1ed1709f9ca1473444985e57ef594 Mon Sep 17 00:00:00 2001 From: Karl Voit Date: Sun, 5 Mar 2023 22:13:35 +0100 Subject: [PATCH] Switched from PyPDF2 to pypdf (deprecation warning) --- guessfilename/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guessfilename/__init__.py b/guessfilename/__init__.py index 62ada4b..f4394ca 100755 --- a/guessfilename/__init__.py +++ b/guessfilename/__init__.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -PROG_VERSION = u"Time-stamp: <2023-01-13 19:02:41 vk>" +PROG_VERSION = u"Time-stamp: <2023-03-05 22:13:16 vk>" # TODO: @@ -31,9 +31,9 @@ except ImportError: sys.exit(1) try: - import PyPDF2 + import pypdf except ImportError: - print("Could not find Python module \"PyPDF2\".\nPlease install it, e.g., with \"sudo pip install PyPDF2\".") + print("Could not find Python module \"pypdf\".\nPlease install it, e.g., with \"sudo pip install pypdf\".") sys.exit(1) PROG_VERSION_DATE = PROG_VERSION[13:23]