Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ufo/automator/app_apis/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def full_path(self) -> str:
try:
full_path = self.com_object.FullName
return full_path
except:
except Exception:
return ""

def save(self) -> None:
Expand All @@ -106,7 +106,7 @@ def save(self) -> None:
"""
try:
self.com_object.Save()
except:
except Exception:
pass

def save_to_xml(self, file_path: str) -> None:
Expand All @@ -116,7 +116,7 @@ def save_to_xml(self, file_path: str) -> None:
"""
try:
self.com_object.SaveAs(file_path, self.xml_format_code)
except:
except Exception:
pass

def close(self) -> None:
Expand All @@ -125,7 +125,7 @@ def close(self) -> None:
"""
try:
self.com_object.Close()
except:
except Exception:
pass

@property
Expand Down