--- a/eric6_doc.py Sat Apr 09 16:34:05 2016 +0200 +++ b/eric6_doc.py Sat Apr 09 18:48:11 2016 +0200 @@ -212,8 +212,9 @@ elif k in ["-c", "--style-sheet"]: stylesheetFile = v elif k in ["-t", "--extension"]: - if not v.startswith("."): - v = ".{0}".format(v) + if v.strip(): + if not v.startswith("."): + v = ".{0}".format(v) supportedExtensions.append(v) elif k == "--eol": if v.lower() == "cr": @@ -268,10 +269,6 @@ qtHelpTitle == ""): usage() - if qtHelpCreation: - from PyQt5.QtCore import QCoreApplication - app = QCoreApplication(sys.argv) # __IGNORE_WARNING__ - input = output = 0 basename = ""