Skip to content

Commit 50d8637

Browse files
committed
Remove assert in check for basestring
Fixes #157
1 parent 1417a96 commit 50d8637

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pdfkit/pdfkit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import codecs
1010
try:
1111
# Python 2.x and 3.x support for checking string types
12-
assert basestring
13-
assert unicode
12+
basestring
13+
unicode
1414
except NameError:
1515
basestring = str
1616
unicode = str

0 commit comments

Comments
 (0)