We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 567c667 commit a3318b9Copy full SHA for a3318b9
DocViewerDesktop/ui/ui_utils.py
@@ -68,7 +68,7 @@ def loadSvgIcon(file_path, width=80, height=80):
68
return pixmap
69
70
def resource_path(relative_path: str) -> str:
71
- """Obtém o caminho absoluto do recurso"""
+ """Obtém o caminho absoluto do recurso."""
72
if hasattr(sys, "_MEIPASS"):
73
# quando rodando no executável do PyInstaller
74
return os.path.join(sys._MEIPASS, relative_path)
0 commit comments