summaryrefslogtreecommitdiff
path: root/qutebrowser/utils
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-23 23:16:27 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-23 23:16:27 +0100
commit88b83c296cfb6a480d61de5aeb4609df660f3176 (patch)
tree74cd4c1319ed222853b59981d87009fefb2e2d00 /qutebrowser/utils
parent74c9f66752f077c4b94927c15aec801a1ab88a22 (diff)
downloadqutebrowser-88b83c296cfb6a480d61de5aeb4609df660f3176.tar.gz
qutebrowser-88b83c296cfb6a480d61de5aeb4609df660f3176.zip
Fix lint
Diffstat (limited to 'qutebrowser/utils')
-rw-r--r--qutebrowser/utils/standarddir.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/qutebrowser/utils/standarddir.py b/qutebrowser/utils/standarddir.py
index c1ba0a73e..057d2627b 100644
--- a/qutebrowser/utils/standarddir.py
+++ b/qutebrowser/utils/standarddir.py
@@ -233,9 +233,11 @@ def _init_runtime(args: Optional[argparse.Namespace]) -> None:
# maximum length of 104 chars), so we don't add the username here...
if version.is_flatpak():
- # We need a path like /run/user/1000/app/org.qutebrowser.qutebrowser rather than
- # /run/user/1000/qutebrowser on Flatpak, since that's bind-mounted in a way that
- # it is accessible by any other qutebrowser instances.
+ # We need a path like
+ # /run/user/1000/app/org.qutebrowser.qutebrowser rather than
+ # /run/user/1000/qutebrowser on Flatpak, since that's bind-mounted
+ # in a way that it is accessible by any other qutebrowser
+ # instances.
*parts, app_name = os.path.split(path)
assert app_name == APPNAME, app_name
path = os.path.join(*parts, 'app', os.environ['FLATPAK_ID'])