summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-11-11 15:48:33 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-11-11 15:48:48 +0100
commitf67cce0434907ef00db25577d46fdd04c0ad765d (patch)
tree7ab7d67d4100eb783f36fcdc8bc8cb6bbb765c62
parentdffcc5e97988d92b2b8a3bba23a49bcb3cf5d040 (diff)
Fixed #21420 once more.
-rw-r--r--django/utils/autoreload.py2
1 files changed, 1 insertions, 1 deletions
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)