Skip to content

Commit 5eb32ce

Browse files
invisig0thCisphyx
andauthored
Update synapse/models/telco.py
Co-authored-by: Cisphyx <[email protected]>
1 parent 5afb2f4 commit 5eb32ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/models/telco.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def getModelDefs(self):
195195

196196
# TODO - eventually break out ISO-3 country code into a sub
197197
# https://en.wikipedia.org/wiki/TADIG_code
198-
('tel:mob:tadig', ('str', {'regex': '^[A-Z0-9]{5}$', 'strip': 1}), {
198+
('tel:mob:tadig', ('str', {'regex': '^[A-Z0-9]{5}$', 'strip': True}), {
199199
'doc': 'A Transferred Account Data Interchange Group number issued to a GSM carrier.'}),
200200

201201
),

0 commit comments

Comments
 (0)