Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 36d868e

Browse files
committed
[CLEAN] Remove python2 support leftover for passwords
1 parent 54c7eb3 commit 36d868e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

camelot/handlers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import multiprocessing as mp
66
import os
7-
import sys
87
from pathlib import Path
98

109
from pypdf import PdfReader
@@ -71,8 +70,6 @@ def __init__(
7170
self.password = "" # noqa: S105
7271
else:
7372
self.password = password
74-
if sys.version_info[0] < 3:
75-
self.password = self.password.encode("ascii")
7673
self.pages = self._get_pages(pages)
7774

7875
def _get_pages(self, pages):

0 commit comments

Comments
 (0)