Commit 8cdf0607 authored by Hilal Ozdemir's avatar Hilal Ozdemir

pylint fix: line was too long

parent 951b5f2d
......@@ -483,9 +483,11 @@ def find_config_file() -> Optional[str]:
# Check if the app is running from source or it is a bundled binary.
if getattr(sys, 'frozen', False):
# The app is bundled.
# The _MEIPASS variable gives the absolute path to the temporary folder created by the bootloader,
# where the config file that we initially added to the bundle also exists.
# For more information, see https://pyinstaller.readthedocs.io/en/stable/runtime-information.html.
# The _MEIPASS variable gives the absolute path to the temporary
# folder created by the bootloader, where the config file that we
# initially added to the bundle also exists.
# For more information, see
# https://pyinstaller.readthedocs.io/en/stable/runtime-information.html.
default_config_file_path_str = "{}/config.toml".format(sys._MEIPASS) # type: ignore # pylint: disable=no-member,protected-access
else:
default_config_file_path_str = "{}/config.toml".format(DEFAULTS.get('CONFIG_DIR'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment