aboutsummaryrefslogtreecommitdiffstats
path: root/fusearchive.py
diff options
context:
space:
mode:
Diffstat (limited to 'fusearchive.py')
-rwxr-xr-xfusearchive.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fusearchive.py b/fusearchive.py
index 8573176..8998601 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -656,7 +656,8 @@ class FuseArchive(Fuse):
str( index ) + ", extending" )
this_index = -1
while this_index < index:
- self._load_chunk( this_index + 1 )
+ this_index += 1
+ self._load_chunk( this_index )
fill_null = self.chunk_size - len(self.chunk)
logging.debug( "Filling this chunk with null, bytes: " + str( fill_null ) )
self.chunk += "\0" * fill_null