# HG changeset patch
# User jfp <jf.pieronne@laposte.net>
# Date 1716451613 -7200
#      Thu May 23 10:06:53 2024 +0200
# Node ID 1ec194a5ebc5aab5bdf93f2c7a77410749923220
# Parent  80ab28cec3d6c77d6f24cc22a5448f5f753db11e
Update template, from_vms and to_vms accept bytes or str

diff --git a/python/local/ovms_module/ovms/crtl/_crtl2.pyi b/python/local/ovms_module/ovms/crtl/_crtl2.pyi
--- a/python/local/ovms_module/ovms/crtl/_crtl2.pyi
+++ b/python/local/ovms_module/ovms/crtl/_crtl2.pyi
@@ -1,7 +1,7 @@
 from typing import NoReturn
 
-def from_vms(path: str, wild_flag: int=0) -> str | None: ...
-def to_vms(path: str, allow_wild: int=0, no_directory: int=0) -> str | None: ...
+def from_vms(path: bytes | str, wild_flag: int=0) -> str | None: ...
+def to_vms(path: bytes | str, allow_wild: int=0, no_directory: int=0) -> str | None: ...
 def vms_exit(status: int) -> NoReturn: ...
 def posix_exit(status: int) -> NoReturn: ...
 def fix_time(vms_time: int) -> int | None: ...