mirror of https://gitlab.com/bashrc2/epicyon
Handle update id endings
parent
3717096afc
commit
700fe0dde1
2
utils.py
2
utils.py
|
@ -824,7 +824,7 @@ def remove_id_ending(id_str: str) -> str:
|
||||||
id_str = id_str.split('#Create')[0]
|
id_str = id_str.split('#Create')[0]
|
||||||
elif id_str.endswith('#delete'):
|
elif id_str.endswith('#delete'):
|
||||||
id_str = id_str.split('#delete')[0]
|
id_str = id_str.split('#delete')[0]
|
||||||
elif id_str.endswith('#update'):
|
elif '#update' in id_str:
|
||||||
id_str = id_str.split('#update')[0]
|
id_str = id_str.split('#update')[0]
|
||||||
return id_str
|
return id_str
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue