HexEdit/HexEditChunks.py

changeset 6891
93f82da09f22
parent 6645
ad476851d7e0
diff -r 26c1042f2eec -r 93f82da09f22 HexEdit/HexEditChunks.py
--- a/HexEdit/HexEditChunks.py	Thu Mar 21 19:26:10 2019 +0100
+++ b/HexEdit/HexEditChunks.py	Thu Mar 21 19:27:42 2019 +0100
@@ -351,7 +351,7 @@
         """
         if pos < 0 or pos >= self.__size:
             # position is out of range, do nothing
-            return
+            return False
         
         chunkIdx = self.__getChunkIndex(pos)
         chunk = self.__chunks[chunkIdx]

eric ide

mercurial