decode_id
This commit is contained in:
parent
26a8e5be96
commit
0feace7a8b
9 changed files with 39 additions and 14 deletions
|
|
@ -4,7 +4,14 @@
|
|||
from decimal import Decimal
|
||||
import re
|
||||
import unicodedata
|
||||
import ox
|
||||
|
||||
def decode_id(id):
|
||||
try:
|
||||
id = ox.from26(id)
|
||||
except:
|
||||
id = 0
|
||||
return id
|
||||
|
||||
def parse_decimal(string):
|
||||
string = string.replace(':', '/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue