diff options
Diffstat (limited to 'Lib/imghdr.py')
-rw-r--r-- | Lib/imghdr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imghdr.py b/Lib/imghdr.py index 10cc085..f3137c5 100644 --- a/Lib/imghdr.py +++ b/Lib/imghdr.py @@ -6,7 +6,7 @@ #-------------------------# def what(filename, h=None): - if not h: + if h is None: f = open(filename, 'r') h = f.read(32) else: |