Changes

Line 34: Line 34:  
  toolbox = activity.ActivityToolbox(self)
 
  toolbox = activity.ActivityToolbox(self)
 
  toolboxheight = toolbox._activity_toolbar.size_request()[1]
 
  toolboxheight = toolbox._activity_toolbar.size_request()[1]
 +
 +
=== import tarfile ===
 +
At some point, the behavior of the Python tarfile library seems to have changed (I've not yet hunted down the documentation.) In any case, on Build 767, it was generating .tar suffixes and on later builds (newer Python libraries?) it was generating .gtar suffixes. I got burnt by this in Turtle Art so now I check for both.
 +
 +
if file_path[-5:] == ".gtar" or file_path[-4:] == ".tar":
 +
    
[[Category:Activity Team]]
 
[[Category:Activity Team]]