From 8b6562b471e520c24684ec02e91c8b461cb1ee3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 30 Aug 2020 18:47:24 +0200 Subject: [PATCH] init.py changed not var in This patch changes: if not var1 in var2 with if var1 not in var2 --- offlineimap/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/init.py b/offlineimap/init.py index 5b83fc1..3b53ebc 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -197,7 +197,7 @@ class OfflineImap: if not options.configfile: # Try XDG location, then fall back to ~/.offlineimaprc xdg_var = 'XDG_CONFIG_HOME' - if not xdg_var in os.environ or not os.environ[xdg_var]: + if xdg_var not in os.environ or not os.environ[xdg_var]: xdg_home = os.path.expanduser('~/.config') else: xdg_home = os.environ[xdg_var]