Fiexd more formatting errors
This commit is contained in:
@@ -76,6 +76,7 @@ logging.addLevelName(VERBOSE, "VERBOSE")
|
|||||||
def logVerbose(self, message, *args, **kws):
|
def logVerbose(self, message, *args, **kws):
|
||||||
if self.isEnabledFor(VERBOSE):
|
if self.isEnabledFor(VERBOSE):
|
||||||
self._log(VERBOSE, message, args, **kws)
|
self._log(VERBOSE, message, args, **kws)
|
||||||
|
|
||||||
logging.Logger.verbose = logVerbose
|
logging.Logger.verbose = logVerbose
|
||||||
|
|
||||||
# Initiating logging
|
# Initiating logging
|
||||||
|
|||||||
+2
-1
@@ -1402,7 +1402,8 @@ class NWProject():
|
|||||||
try:
|
try:
|
||||||
rmdir(theData)
|
rmdir(theData)
|
||||||
logger.info("Removed folder: %s" % theFolder)
|
logger.info("Removed folder: %s" % theFolder)
|
||||||
except Exception:
|
except Exception as e:
|
||||||
|
logger.error(str(e))
|
||||||
errList.append("Failed to remove: %s" % theFolder)
|
errList.append("Failed to remove: %s" % theFolder)
|
||||||
|
|
||||||
return errList
|
return errList
|
||||||
|
|||||||
@@ -1068,7 +1068,6 @@ class GuiBuildNovelDocView(QTextBrowser):
|
|||||||
strBuildTime = "Unknown"
|
strBuildTime = "Unknown"
|
||||||
self.theTitle.setText("<b>Build Time:</b> %s" % strBuildTime)
|
self.theTitle.setText("<b>Build Time:</b> %s" % strBuildTime)
|
||||||
|
|
||||||
|
|
||||||
def _updateDocMargins(self):
|
def _updateDocMargins(self):
|
||||||
"""Automatically adjust the header to fill the top of the
|
"""Automatically adjust the header to fill the top of the
|
||||||
document within the viewport.
|
document within the viewport.
|
||||||
|
|||||||
Reference in New Issue
Block a user