|
|
@ -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: |
|
|
|