1
0
forked from ScoDoc/ScoDoc

Fix: ue_sharing_code

This commit is contained in:
Emmanuel Viennet 2023-06-29 23:26:14 +02:00 committed by iziram
parent 066a24b302
commit d519760c86

View File

@ -498,8 +498,10 @@ def ue_sharing_code():
hide_ue_id = request.args.get("hide_ue_id") hide_ue_id = request.args.get("hide_ue_id")
return sco_edit_ue.ue_sharing_code( return sco_edit_ue.ue_sharing_code(
ue_code=ue_code, ue_code=ue_code,
ue_id=None if ue_id is None else int(ue_id), ue_id=None if ((ue_id is None) or ue_id == "") else int(ue_id),
hide_ue_id=None if hide_ue_id is None else int(hide_ue_id), hide_ue_id=None
if ((hide_ue_id is None) or hide_ue_id == "")
else int(hide_ue_id),
) )