From 4eb104bf3011e6b61c41685035271bc6ee3e4fc8 Mon Sep 17 00:00:00 2001 From: Quentin Stafford-Fraser Date: Mon, 22 Jul 2024 19:17:39 +0100 Subject: [PATCH] Fix bug that caused empty device_info after first query --- rime/filesystem/ios.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rime/filesystem/ios.py b/rime/filesystem/ios.py index 81cc0f9..a9089b7 100644 --- a/rime/filesystem/ios.py +++ b/rime/filesystem/ios.py @@ -319,8 +319,6 @@ def get_device_info(self) -> dict: except plistlib.InvalidFileException: log.warning(f"Failed to read {info_plist_file}") self._device_info = {} - else: - self._device_info = {} return self._device_info def dirname(self, path):