From e2b6b846943633d82e213fcf77e18d30fe0ab807 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sun, 24 Apr 2005 16:14:50 +0000
Subject: [PATCH] '1' is also valid in the forms

---
 src/common/connection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/connection.py b/src/common/connection.py
index b1055944b2..8bd0b8b1e0 100644
--- a/src/common/connection.py
+++ b/src/common/connection.py
@@ -441,7 +441,7 @@ class Connection:
 				for tag in tags:
 					data = tag.getData()
 					if ctype == 'boolean':
-						if data in ['yes', 'true', 'assent']:
+						if data in ['yes', 'true', 'assent', '1']:
 							data = True
 						else:
 							data = False
-- 
GitLab