1. David Warburton
  2. SublimeShopify

Commits

David Warburton  committed 1d6eb69

open the downloaded file correctly.

  • Participants
  • Parent commits 679ba41
  • Branches default

Comments (0)

Files changed (1)

File Shopify.py

View file
  • Ignore whitespace
             with open(asset_full_name, 'wb') as f:
                 f.write(asset.value)
             sublime.status_message('')
-            self.window.run_command('open_file', {"file":os.path.join('cache', asset_file_name)})
+            self.window.open_file(asset_full_name)
 
         self.window.show_quick_panel(commands, on_asset_select)