From 2980bc808e31fd0013a6fd2f929031a8313e69f1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 11 Aug 2015 20:15:42 +0200 Subject: [PATCH] Remove dead configtypes code. --- qutebrowser/config/configtypes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index 5dfc43692..75e05360c 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -803,8 +803,8 @@ class File(BaseType): value = os.path.expandvars(value) if not os.path.isabs(value): cfgdir = standarddir.config() - if cfgdir is not None: - return os.path.join(cfgdir, value) + assert cfgdir is not None + return os.path.join(cfgdir, value) return value def validate(self, value):