diff --git a/offlineimap/utils/distro_utils.py b/offlineimap/utils/distro_utils.py index 5aa62d5..799f4e6 100644 --- a/offlineimap/utils/distro_utils.py +++ b/offlineimap/utils/distro_utils.py @@ -69,12 +69,8 @@ def get_os_sslcertfile_searchpath(): Returned value of None means that there is no search path at all. """ - os_name = get_os_name() - - location = None - if os_name in __DEF_OS_LOCATIONS: - location = __DEF_OS_LOCATIONS[os_name] + location = __DEF_OS_LOCATIONS.get(os_name, None) return location