daemon: don't forget to convert to bytes on py2

This commit is contained in:
Ruslan Kuprieiev
2019-04-08 03:07:33 +03:00
committed by GitHub
parent 3d24bd665c
commit fafad73602
+1 -1
View File
@@ -102,6 +102,6 @@ def daemon(args):
env[cast_bytes_py2("PYTHONPATH")] = cast_bytes_py2(
os.path.dirname(os.path.dirname(file_path))
)
env[cast_bytes_py2(DVC_DAEMON)] = "1"
env[cast_bytes_py2(DVC_DAEMON)] = cast_bytes_py2("1")
_spawn(cmd, env)