Diff of /plugin.video.gamestar/simplexbmc.py [60f645] .. [c72b56] Maximize Restore

  Switch to side-by-side view

--- a/plugin.video.gamestar/simplexbmc.py
+++ b/plugin.video.gamestar/simplexbmc.py
@@ -86,14 +86,15 @@
   
   def _pbhook(self, numblocks, blocksize, filesize, url=None,dp=None):
     try:
-	percent = min((numblocks*blocksize*100)/filesize, 100)
-	self.dp.update(percent)
+      percent = min((numblocks*blocksize*100)/filesize, 100)
+      self.dp.update(percent)
     except:
-	percent = 100
-	self.dp.update(percent)
-    if dp.iscanceled():
-	self.dp.close()
-	
+      percent = 100
+      self.dp.update(percent)
+      if dp.iscanceled():
+        self.dp.close()
+        sys.exit("Download aborted")
+        
   def refresh(self):
     xbmc.executebuiltin("Container.Refresh");