Cast int to string

Closed  #224
This commit is contained in:
Jip-Hop 2024-07-09 04:20:31 +02:00
parent 2d3ae20cd7
commit 762b83a8c8
1 changed files with 1 additions and 1 deletions

View File

@ -1306,7 +1306,7 @@ def create_jail(**kwargs):
value = kwargs.pop(option) value = kwargs.pop(option)
if ( if (
value is not None value is not None
and len(value) and len(str(value))
and value is not config.my_get(option, None) and value is not config.my_get(option, None)
): ):
# TODO: this will wipe all systemd_nspawn_user_args from the template... # TODO: this will wipe all systemd_nspawn_user_args from the template...