Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#194 closed defect (fixed)

get_image_dimensions does not work on Windows

Reported by: Steadicat Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In source:django/trunk/django/utils/, get_image_dimensions does not work on Windows because the image file is not read as a binary file.

Line 11 should read:

    fp = open(path, 'rb')

Change History (1)

comment:1 Changed 13 years ago by Jacob

Resolution: fixed
Status: newclosed

(In [310]) Fixed #194 -- thanks, steadicat!

Note: See TracTickets for help on using tickets.
Back to Top