From 844b0bb9c5f89db88ed0be9bd439dd7bff7e797f Mon Sep 17 00:00:00 2001 From: Niklas Baumstark Date: Mon, 9 Dec 2019 14:48:54 +0100 Subject: [PATCH] Update source.py --- pdfkit/source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdfkit/source.py b/pdfkit/source.py index 44ca1bf..28e9659 100644 --- a/pdfkit/source.py +++ b/pdfkit/source.py @@ -8,7 +8,7 @@ def __init__(self, url_or_file, type_): self.source = url_or_file self.type = type_ - if self.type is 'file': + if self.type == 'file': self.checkFiles() def isUrl(self):