summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-06-23 19:02:15 -0500
committerJohn Estabrook <jestabro@vyos.io>2025-07-08 08:26:11 -0500
commit8e84c690e59fc27d601c24261442ce34e00af1f2 (patch)
tree348468ed56762e3e0c2fdf145bb60d74a1c67bd6 /python
parent05db4cdef55acc1a5869dabaab60264074c30c7d (diff)
downloadvyos-1x-8e84c690e59fc27d601c24261442ce34e00af1f2.tar.gz
vyos-1x-8e84c690e59fc27d601c24261442ce34e00af1f2.zip
T7499: fix typo in configtree write_cache
Diffstat (limited to 'python')
-rw-r--r--python/vyos/configtree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configtree.py b/python/vyos/configtree.py
index dd7dc5b93..ba3f1e368 100644
--- a/python/vyos/configtree.py
+++ b/python/vyos/configtree.py
@@ -233,7 +233,7 @@ class ConfigTree(object):
return self.__version
def write_cache(self, file_name):
- self.__write_internal(self._get_config(), file_name)
+ self.__write_internal(self._get_config(), file_name.encode())
def to_string(self, ordered_values=False, no_version=False):
config_string = self.__to_string(self.__config, ordered_values).decode()