projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix wrong usage of `isinstance`
[osm/RO.git]
/
osm_ro
/
utils.py
diff --git
a/osm_ro/utils.py
b/osm_ro/utils.py
index
2afbc85
..
1e3a8ee
100644
(file)
--- 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: