From e1cd848a776bb346903d759924a10f154d6a68a1 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Sat, 15 Mar 2025 17:26:37 +0100 Subject: [PATCH] Fix type and redundant parentheses --- novelwriter/__init__.py | 2 +- pkgutils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/novelwriter/__init__.py b/novelwriter/__init__.py index b548c974..43b3a4e9 100644 --- a/novelwriter/__init__.py +++ b/novelwriter/__init__.py @@ -283,7 +283,7 @@ def _createApp(style: str) -> QApplication: """Create the app. This is done in a function to make it easier to block app creation during testing. """ - app = QApplication([CONFIG.appName, (f"-style={style}")]) + app = QApplication([CONFIG.appName, f"-style={style}"]) app.setApplicationName(CONFIG.appName) app.setApplicationVersion(__version__) app.setOrganizationDomain(__domain__) diff --git a/pkgutils.py b/pkgutils.py index 240faa94..80281d5c 100755 --- a/pkgutils.py +++ b/pkgutils.py @@ -141,7 +141,7 @@ if __name__ == "__main__": parser = argparse.ArgumentParser( usage="pkgutils.py [command] [--flags]", description=( - "This tool provides setup and build commands for installing or distibuting " + "This tool provides setup and build commands for installing or distributing " "novelWriter as a package on Linux, Mac and Windows, as well as developer tools " "for internationalisation." )