Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArtActivity.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArtActivity.py')
-rw-r--r--TurtleArtActivity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index 2684a33..7c0838d 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -390,8 +390,8 @@ class TurtleArtActivity(activity.Activity):
if hasattr(self, 'tw'):
_logger.debug("Reading file %s" % file_path)
- # should be a tar file
- if file_path[-5:] == ".gtar":
+ # should be a gtar (newer builds) or tar (767) file
+ if file_path[-5:] == ".gtar" or file_path[-4:] == ".tar":
tar_fd = tarfile.open(file_path, 'r')
tmpdir = tempfile.mkdtemp()
try: