X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Futils.py;h=1e3a8ee74a8b283b7f847fa6fa7b4e5ea77f1a0a;hb=0ea9b0f0cbd4c5567289c4c80c73de94901d7047;hp=2afbc85c3a4ac15fbc12a2c39fc44037a49944a4;hpb=c5293def02d95ed4ee086dd8842437b76ec05c4e;p=osm%2FRO.git diff --git a/osm_ro/utils.py b/osm_ro/utils.py index 2afbc85c..1e3a8ee7 100644 --- a/osm_ro/utils.py +++ b/osm_ro/utils.py @@ -225,6 +225,8 @@ def expand_brackets(text): :param text: :return: """ + if text is None: + return (None, ) start = text.find("[") end = text.find("]") if start < 0 or end < 0: