Browse Source

mp4 file name changed

master
venkataakhil 1 year ago
parent
commit
0adff0146d
  1. 8
      smart_service/transactions/doctype/system_mapping/system_mapping.py

8
smart_service/transactions/doctype/system_mapping/system_mapping.py

@ -38,6 +38,14 @@ class SystemMapping(Document):
# self.km_active_status = status.active_status
def validate(self):
if self.systems_assets:
for x in self.get("systems_assets"):
if x.system_asset:
a = x.system_asset
b = a.split(".")
if str(b[1] == "MP4"):
x.system_asset = str(b[0]) + '.mp4'
if self.system_sub_systems:
for x in self.get("system_sub_systems"):
if x.procedure:

Loading…
Cancel
Save