Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vhou-Atroph committed May 9, 2024
1 parent 08be809 commit 5b72fa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tt_damage_calculator/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ def build_ui(self):
self.results = CalculationResults(self.column_0)

def file(self, filepath):
"""Open a specified file in its default app."""

match platform.system():
case "Windows":
os.startfile(filepath)
Expand Down

0 comments on commit 5b72fa9

Please sign in to comment.