From c5fdcab3a1a034ef8933268d3237878716d7b2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 15:43:06 +0200 Subject: Fix bug in configuration.py Type inserted to method is str, but threated as int. --- scripts/configurations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index 8391140..73af8e2 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -76,7 +76,7 @@ def __write_temp_config_file__(con, conf_num): s *= -1 else: nt = False - if s > conf_num: + if s > int(conf_num): break; if 'NONAMEGEN' in utils.smap[s]: # ignore generated names continue -- cgit v1.2.3