Skip to content

Commit

Permalink
Merge pull request igloox#2 from rambo/pytho3_fixes
Browse files Browse the repository at this point in the history
Python3 fixes
  • Loading branch information
igloox committed Dec 16, 2015
2 parents 053f55a + e883c6f commit 246bb99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions djangocms_ckeditor_filer/middleware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.http import HttpResponseNotFound
from views import thumbnail_options, url_image
from .views import thumbnail_options, url_image


class ThumbnailMiddleware:
Expand All @@ -13,5 +13,5 @@ def process_request(self, request):

# if the key is set but doesn't have a value (i.e., if the javascript is
# being weird, just 404
if request.GET.has_key('djangocms_ckeditor_filer_image'):
if 'djangocms_ckeditor_filer_image' in request.GET:
return HttpResponseNotFound()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='djangocms-ckeditor-filer',
version='0.2',
version='0.2.2',
description='Simplified CKEditor plugin for DjangoCMS with direct Django Filer integration',
author='Stephen Watkin',
author_email='ste@smashbang.co.uk',
Expand Down

0 comments on commit 246bb99

Please sign in to comment.