summaryrefslogtreecommitdiff
path: root/py/objnone.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objnone.c')
-rw-r--r--py/objnone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objnone.c b/py/objnone.c
index 4b0696d3a..5b25cd38c 100644
--- a/py/objnone.c
+++ b/py/objnone.c
@@ -36,7 +36,7 @@ typedef struct _mp_obj_none_t {
STATIC void none_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
(void)self_in;
- if (MICROPY_PY_UJSON && kind == PRINT_JSON) {
+ if (MICROPY_PY_JSON && kind == PRINT_JSON) {
mp_print_str(print, "null");
} else {
mp_print_str(print, "None");