Remove conditional import of 'ic', that module
was removed in the transition from python 2.x to python 3.x.
This commit is contained in:
parent
08ec84cf72
commit
32eb864d31
|
@ -540,18 +540,6 @@ if sys.platform[:3] == "win":
|
|||
# Platform support for MacOS
|
||||
#
|
||||
|
||||
try:
|
||||
import ic
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
class InternetConfig(BaseBrowser):
|
||||
def open(self, url, new=0, autoraise=True):
|
||||
ic.launchurl(url)
|
||||
return True # Any way to get status?
|
||||
|
||||
register("internet-config", InternetConfig, update_tryorder=-1)
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
# Adapted from patch submitted to SourceForge by Steven J. Burr
|
||||
class MacOSX(BaseBrowser):
|
||||
|
|
Loading…
Reference in New Issue