init.py changed not var in
This patch changes: if not var1 in var2 with if var1 not in var2
This commit is contained in:
parent
3de236b4a1
commit
8b6562b471
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user