Browse files

Correct reference error (undefined variable)

  • Loading branch information...
1 parent 80d32b5 commit 97502a96f4c51131e4e4c11bf8824de23ad5246f @matthewwithanm matthewwithanm committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/views/i18n.py
View
2 django/views/i18n.py
@@ -125,7 +125,7 @@ def get_formats():
function get_format(format_type) {
var value = formats[format_type];
if (typeof(value) == 'undefined') {
- return msgid;
+ return format_type;
} else {
return value;
}

0 comments on commit 97502a9

Please sign in to comment.