Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed the 'open' call again. Works on OS X. Needs to be tested on w…

…indows and linux.
  • Loading branch information...
commit 5fb9177488ae1bf3c133106f33b32cf7aa4cd5fa 1 parent d1c3875
@pdaether pdaether authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  MarkdownBuild.py
View
3  MarkdownBuild.py
@@ -3,7 +3,6 @@
import markdown_python
import os
import tempfile
-import desktop
class MarkdownBuild(sublime_plugin.WindowCommand):
@@ -27,4 +26,4 @@ def run(self):
output = tempfile.NamedTemporaryFile(delete=False, suffix='.html')
output.write(html.encode('UTF-8'))
output.close()
- desktop.open(output.name)
+ self.window.run_command('open_url', {"url": "file://" + output.name})

0 comments on commit 5fb9177

Please sign in to comment.
Something went wrong with that request. Please try again.