[open-allure-ds] push by jg07...@gmail.com - Fix test of maxNum on 2011-12-14 05:49 GMT

4 views
Skip to first unread message

open-al...@googlecode.com

unread,
Dec 14, 2011, 12:50:16 AM12/14/11
to open-al...@googlegroups.com
Revision: e164fa7e0201
Author: John Graves
Date: Tue Dec 13 21:49:38 2011
Log: Fix test of maxNum
http://code.google.com/p/open-allure-ds/source/detail?r=e164fa7e0201

Modified:
/odp2wts/SlideSpeechConverter.py

=======================================
--- /odp2wts/SlideSpeechConverter.py Tue Dec 6 20:16:21 2011
+++ /odp2wts/SlideSpeechConverter.py Tue Dec 13 21:49:38 2011
@@ -237,13 +237,14 @@
num = int(stem[3:])
else:
wrongStem = True
- if num>maxNum:
- maxNum=num

if wrongStem:
easygui.msgbox("Need slide image files for this presentation\n"+
"with consistent stem: Slide* or img*\n\nCheck
in "+odpFileSubdirectory)
sys.exit()
+else:
+ if num>maxNum:
+ maxNum=num

if not scriptAndImagesCreated:
## Step 1 - parse the .odp file, prepare script.txt and .zip file

Reply all
Reply to author
Forward
0 new messages