eric6_doc.py

changeset 4932
127d0fe00c77
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
diff -r fcab21c80811 -r 127d0fe00c77 eric6_doc.py
--- 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 = ""
 

eric ide

mercurial