index d27d6d1f48c9635f286fe9e0fd272456aa807cff..0deea3c8f0e4cced381df6e2fa8680b686bf5ad7 100644 (file)
-#!/usr/bin/env python \r
-import webbrowser, threading\r
-from optparse import OptionParser\r
-\r
-class VisitWebSiteWithoutLockingInkscape(threading.Thread):\r
- def __init__(self):\r
- threading.Thread.__init__ (self)\r
- parser = OptionParser()\r
- parser.add_option("-u", "--url", action="store", type="string", \r
- default="http://www.inkscape.org/", \r
- dest="url", help="The URL to open in web browser")\r
- (self.options, args) = parser.parse_args() \r
-\r
- def run(self): \r
- webbrowser.open(self.options.url)\r
- \r
-vwswli = VisitWebSiteWithoutLockingInkscape()\r
-vwswli.start()
\ No newline at end of file
+#!/usr/bin/env python
+import webbrowser, threading
+from optparse import OptionParser
+
+class VisitWebSiteWithoutLockingInkscape(threading.Thread):
+ def __init__(self):
+ threading.Thread.__init__ (self)
+ parser = OptionParser()
+ parser.add_option("-u", "--url", action="store", type="string",
+ default="http://www.inkscape.org/",
+ dest="url", help="The URL to open in web browser")
+ (self.options, args) = parser.parse_args()
+
+ def run(self):
+ webbrowser.open(self.options.url)
+
+vwswli = VisitWebSiteWithoutLockingInkscape()
+vwswli.start()
+
+
+# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99