Skip to content

Commit

Permalink
removed duplicate slash from EDITOR_MEDIA_PATH setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tgecho committed Jan 17, 2011
1 parent 246c18d commit 8f8bc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
DJANGO10_COMPAT = django.VERSION[0] < 1 or (django.VERSION[0] == 1 and django.VERSION[1] < 1)

STATIC_URL = getattr(settings, 'STATIC_URL', settings.MEDIA_URL)
MEDIA_PATH = getattr(settings, 'EDITOR_MEDIA_PATH', '%s/editor/' % STATIC_URL)
MEDIA_PATH = getattr(settings, 'EDITOR_MEDIA_PATH', '%seditor/' % STATIC_URL)

0 comments on commit 8f8bc6e

Please sign in to comment.