Fixed spelling errors in python code
This commit is contained in:
parent
3101b09a4f
commit
fd3c8dc735
@ -1,6 +1,6 @@
|
|||||||
from os.path import isfile as DoesFileExist
|
from os.path import isfile as DoesFileExist
|
||||||
|
|
||||||
from .DataStructureManupulations import ConvertToStandardPathFormat
|
from .DataStructureManipulations import ConvertToStandardPathFormat
|
||||||
|
|
||||||
|
|
||||||
def ReadTextFile(FilePath):
|
def ReadTextFile(FilePath):
|
||||||
|
@ -14,7 +14,7 @@ import sys
|
|||||||
from urllib.parse import quote as strToHtmlFmt
|
from urllib.parse import quote as strToHtmlFmt
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
from GeneralFunctions.DataStructureManupulations import (
|
from GeneralFunctions.DataStructureManipulations import (
|
||||||
StrListToDictionary
|
StrListToDictionary
|
||||||
)
|
)
|
||||||
from GeneralFunctions.InputOutput import (
|
from GeneralFunctions.InputOutput import (
|
||||||
@ -87,7 +87,7 @@ class extractData:
|
|||||||
WriteBinaryToFile(iconPath, icon)
|
WriteBinaryToFile(iconPath, icon)
|
||||||
else:
|
else:
|
||||||
# Conitnue without icon since non-fatal error
|
# Conitnue without icon since non-fatal error
|
||||||
self.iconErroredBundles.append(bundlePath)
|
self.iconErrorBundles.append(bundlePath)
|
||||||
|
|
||||||
bundle.close()
|
bundle.close()
|
||||||
# FIXME: uncomment below function.
|
# FIXME: uncomment below function.
|
||||||
@ -223,8 +223,8 @@ class extractData:
|
|||||||
self.bundlesInfoList = []
|
self.bundlesInfoList = []
|
||||||
self.infoJson = ''
|
self.infoJson = ''
|
||||||
self.indexDictList = []
|
self.indexDictList = []
|
||||||
self.erroredBundles = []
|
self.miscErrorBundles = []
|
||||||
self.iconErroredBundles = []
|
self.iconErrorBundles = []
|
||||||
|
|
||||||
self.createDirectories()
|
self.createDirectories()
|
||||||
|
|
||||||
@ -268,12 +268,12 @@ class extractData:
|
|||||||
self.bundlesNotZipFiles
|
self.bundlesNotZipFiles
|
||||||
)
|
)
|
||||||
WriteTextFiles(
|
WriteTextFiles(
|
||||||
self.websiteDir+"erroredBundles.txt",
|
self.websiteDir+"miscErrorBundles.txt",
|
||||||
self.erroredBundles
|
self.miscErrorBundles
|
||||||
)
|
)
|
||||||
WriteTextFiles(
|
WriteTextFiles(
|
||||||
self.websiteDir+"iconErroredBundles.txt",
|
self.websiteDir+"iconErrorBundles.txt",
|
||||||
self.iconErroredBundles
|
self.iconErrorBundles
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user