diff options
Diffstat (limited to 'passlib/apache.py')
| -rw-r--r-- | passlib/apache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passlib/apache.py b/passlib/apache.py index 37b9024..f34d1d0 100644 --- a/passlib/apache.py +++ b/passlib/apache.py @@ -85,7 +85,7 @@ class _CommonFile(object): passwords will be loaded directly from this string, and any files will be ignored. """ - if instance(content, unicode): + if isinstance(content, unicode): content = content.encode(self.encoding or 'utf-8') self.mtime = 0 #XXX: replace this with iterator? |
