Skip to content

Commit

Permalink
Merge pull request #3 from ryankaiser/merge
Browse files Browse the repository at this point in the history
Fixed 'RemovedInDjango110Warning'
  • Loading branch information
ZuluPro committed Jul 16, 2016
2 parents 6f95761 + 79177ae commit 363a0be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions favicon/utils.py
@@ -1,6 +1,5 @@
"""Utilities for :mod:`favicon`."""
from django.utils.six import BytesIO, StringIO
from django.template import Context
from django.template.loader import get_template
from django.core.files import File
from PIL import Image
Expand Down Expand Up @@ -64,7 +63,7 @@ def write_file(output_file, name, replace=False):
output_name = 'ieconfig.xml'
output_file = StringIO()
template = get_template('favicon/ieconfig.xml')
output_content = template.render(Context({'tile_color': 'FFFFFF'}))
output_content = template.render({'tile_color': 'FFFFFF'})
output_file.write(output_content)
write_file(output_file, 'ieconfig.xml')

Expand Down

0 comments on commit 363a0be

Please sign in to comment.