summaryrefslogtreecommitdiff
path: root/BCT/PhoneControlsExtractor
diff options
context:
space:
mode:
authorGravatar t-espave <unknown>2011-08-05 16:53:22 -0700
committerGravatar t-espave <unknown>2011-08-05 16:53:22 -0700
commitad3d0b71e79f1943a0f2eb8792592075af44d5e4 (patch)
treed5055281045fdb7158cda5d3c27cebfa4632111f /BCT/PhoneControlsExtractor
parentce3354c16952bcc77a6b54745d548f145614589b (diff)
(phone bct) nav graph building (mostly) automated
Diffstat (limited to 'BCT/PhoneControlsExtractor')
-rw-r--r--BCT/PhoneControlsExtractor/PhoneControlsExtractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BCT/PhoneControlsExtractor/PhoneControlsExtractor.py b/BCT/PhoneControlsExtractor/PhoneControlsExtractor.py
index 82090e29..bb9eb2e6 100644
--- a/BCT/PhoneControlsExtractor/PhoneControlsExtractor.py
+++ b/BCT/PhoneControlsExtractor/PhoneControlsExtractor.py
@@ -191,7 +191,7 @@ def extractPhoneControls(sourceDir):
global mainPageXAML
fileList= [os.path.join(sourceDir, fileName) for fileName in os.listdir(sourceDir) if os.path.splitext(fileName)[1] == ".xaml" or os.path.splitext(fileName)[1] == ".xml"]
for fileName in fileList:
- if os.path.splitext(fileName)[1] == ".xml" and os.path.splitext(os.path.split(fileName)[1])[0].lower() == "wmappmanifest":
+ if os.path.splitext(fileName)[1].lower() == ".xml" and os.path.splitext(os.path.split(fileName)[1])[0].lower() == "wmappmanifest":
mainPageXAML= getMainPageXAMLFromManifest(fileName)
break