# HG changeset patch # User Brian Neal # Date 1683505639 18000 # Node ID 3a03c2b2df053bb1aa15f60cc45904afac0a6c59 # Parent ba23e79438f4b3a82ba0df954b01a2dcf8d99f37 Fix url return value bug. diff -r ba23e79438f4 -r 3a03c2b2df05 core/images/upload.py --- a/core/images/upload.py Sun May 07 19:23:35 2023 -0500 +++ b/core/images/upload.py Sun May 07 19:27:19 2023 -0500 @@ -178,7 +178,7 @@ url_pattern = '%s://%s%s%s/%s' site = Site.objects.get_current() - image_url = url_pattern % ( + return url_pattern % ( settings.SITE_SCHEME, site.domain, settings.MEDIA_URL,