]> granicus.if.org Git - python/commitdiff
Fix a few webbrowser.py problems.
authorGeorg Brandl <georg@python.org>
Sun, 1 Jul 2007 08:11:35 +0000 (08:11 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 1 Jul 2007 08:11:35 +0000 (08:11 +0000)
Lib/webbrowser.py

index 209cb17b6ad0a32f7e060ef1182a4ebaef287b0b..6cf8942527418fd177eec246e59a81f79d9fffb0 100644 (file)
@@ -1,5 +1,6 @@
 #! /usr/bin/env python
 """Interfaces for launching and remotely controlling Web browsers."""
+# Maintained by Georg Brandl.
 
 import os
 import shlex
@@ -160,6 +161,7 @@ class GenericBrowser(BaseBrowser):
     def __init__(self, name):
         if isinstance(name, basestring):
             self.name = name
+            self.args = ["%s"]
         else:
             # name should be a list with arguments
             self.name = name[0]