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:
		| @@ -197,7 +197,7 @@ class OfflineImap: | |||||||
|         if not options.configfile: |         if not options.configfile: | ||||||
|             # Try XDG location, then fall back to ~/.offlineimaprc |             # Try XDG location, then fall back to ~/.offlineimaprc | ||||||
|             xdg_var = 'XDG_CONFIG_HOME' |             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') |                 xdg_home = os.path.expanduser('~/.config') | ||||||
|             else: |             else: | ||||||
|                 xdg_home = os.environ[xdg_var] |                 xdg_home = os.environ[xdg_var] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rodolfo García Peñas (kix)
					Rodolfo García Peñas (kix)