From f67cce0434907ef00db25577d46fdd04c0ad765d Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 11 Nov 2013 15:48:33 +0100 Subject: [PATCH] Fixed #21420 once more. --- django/utils/autoreload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/autoreload.py b/django/utils/autoreload.py index 84aed44495..219ed6440c 100644 --- a/django/utils/autoreload.py +++ b/django/utils/autoreload.py @@ -184,7 +184,7 @@ def kqueue_code_changed(): kqueue.control([make_kevent(watcher)], 0) def update_watch(sender=None, **kwargs): - watcher.write('.') + watcher.write(b'.') request_finished.connect(update_watch)