Fix svg parsing in mod_wsgi
authorSimo Sorce <simo@redhat.com>
Wed, 12 Nov 2014 20:20:14 +0000 (15:20 -0500)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Wed, 12 Nov 2014 22:48:11 +0000 (23:48 +0100)
commitd4a25c813371fc84b6c487bf5394f5574f6d5753
tree0cb54b35d14e577efcd73927089c0f3e3dacaf86
parentaa1a58099d6e0b831b306d0fe92937470870efeb
Fix svg parsing in mod_wsgi

Whe ipsilon is used behind apache we need to cast the template to a string.
Otherwise mod_wsgi returns a TypeError complaining about the fact data is
a unicode string instead of a byte string.

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
ipsilon/admin/common.py