From 762b83a8c82621bd952ff8079a000ae3a7180f1e Mon Sep 17 00:00:00 2001 From: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com> Date: Tue, 9 Jul 2024 04:20:31 +0200 Subject: [PATCH] Cast int to string Closed #224 --- jlmkr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlmkr.py b/jlmkr.py index 7dc8906..150d8ed 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -1306,7 +1306,7 @@ def create_jail(**kwargs): value = kwargs.pop(option) if ( value is not None - and len(value) + and len(str(value)) and value is not config.my_get(option, None) ): # TODO: this will wipe all systemd_nspawn_user_args from the template...