We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15ed32 commit 844b0bbCopy full SHA for 844b0bb
pdfkit/source.py
@@ -8,7 +8,7 @@ def __init__(self, url_or_file, type_):
8
self.source = url_or_file
9
self.type = type_
10
11
- if self.type is 'file':
+ if self.type == 'file':
12
self.checkFiles()
13
14
def isUrl(self):
0 commit comments