Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
l8556 committed Dec 13, 2024
1 parent e1edf36 commit 25c03ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frameworks/editors/onlyoffice/x2ttester/x2ttester.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, config: X2tTesterConfig):
self.x2ttester_path = join(self.config.core_dir, HostConfig().x2ttester)
self.xml = X2tTesterXml(self.config)

def conversion(self, input_format: str, output_format: str, listxml_path: str = None) -> None:
def conversion(self, input_format: str = None, output_format: str = None, listxml_path: str = None) -> None:
"""
Performs file conversion using X2tTester.
:param input_format: Input file format.
Expand All @@ -40,7 +40,7 @@ def check_x2ttester_exists(self) -> None:
if not exists(self.x2ttester_path):
raise FileNotFoundError(f"[bold red]|ERROR| X2tTester does not exist on the path: {self.x2ttester_path}")

def create_param_xml(self, input_format: str, output_format: str, listxml_path: str = None) -> str:
def create_param_xml(self, input_format: str = None, output_format: str = None, listxml_path: str = None) -> str:
"""
Creates parameter XML file for conversion.
:param input_format: Input file format.
Expand Down

0 comments on commit 25c03ee

Please sign in to comment.