Skip to content

Commit 9569435

Browse files
guoh064LmeSzinc
andauthored
Fix: result of map_rescan_current passed wrongly (#2657)
Co-authored-by: LmeSzinc <lmeszincsales@gmail.com>
1 parent 5fece23 commit 9569435

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

module/os/map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,8 @@ def map_rescan_once(self, rescan_mode='full', drop=None):
826826
self.handle_info_bar()
827827
self.update()
828828
if self.map_rescan_current(drop=drop):
829-
logger.info(f'Map rescan once end, result={result}')
830-
return result
829+
logger.info(f'Map rescan once end, result={True}')
830+
return True
831831

832832
if rescan_mode == 'full':
833833
logger.hr('Map rescan full', level=2)

0 commit comments

Comments
 (0)