Fix typo
diff --git a/emsdk.py b/emsdk.py
index 022da9a..7a4e72d 100644
--- a/emsdk.py
+++ b/emsdk.py
@@ -1328,7 +1328,7 @@
     # Uncompress the NSIS installer to 'install' Firefox
     run(['C:\\Program Files\\7-Zip\\7z.exe', 'x', '-y', filename, '-o' + root])
 
-  if '.tar.' in filename:.endswith('.tar.bz2') or filename.endswith('.tar.xz'):
+  if '.tar.' in filename:
     if filename.endswith('.tar.bz2'):
       tar_type = 'r:bz2'
     elif filename.endswith('.tar.xz'):