Removed pedant if check in URL()

This commit is contained in:
gi0baro
2013-11-18 01:12:37 +01:00
parent e83bb7af29
commit 2bf1f5396f
-1
View File
@@ -294,7 +294,6 @@ def URL(
from globals import current from globals import current
if hasattr(current, 'response'): if hasattr(current, 'response'):
response = current.response response = current.response
if response:
if response.static_version and response.static_version_urls: if response.static_version and response.static_version_urls:
args = [function] + args args = [function] + args
function = '_'+str(response.static_version) function = '_'+str(response.static_version)