aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfusearchive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fusearchive.py b/fusearchive.py
index 78b1c8c..9b6364f 100755
--- a/fusearchive.py
+++ b/fusearchive.py
@@ -98,11 +98,11 @@ def save_chunk( chunk ):
break
dmsg( 3, "Got chunk slot: " + str( sub ) )
- return( digest + "_" + str( sub ) )
+ return( [ digest, sub ] )
# This will return a data block by key that was saved previously
def load_chunk( key ):
- ( hash, seq ) = key.split( '_' )
+ ( hash, seq ) = key
dmsg( 2, "Begin load_chunk" )
chars = list( hash )