Changeset 3343 for trunk/makeTutorial.py


Ignore:
Timestamp:
Apr 12, 2018 4:52:34 PM (6 years ago)
Author:
toby
Message:

add to web page listing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makeTutorial.py

    r3246 r3343  
    2929    outname = os.path.join(GSASIIpath.path2GSAS2,'help','Tutorials.html')
    3030
    31     dirList = [l[0] for l in tutorialIndex if len(l) == 3]
     31    dirList = [l[0] for l in tutorialIndex if len(l) >= 3]
    3232
    3333    # loop through directories in Tutorials repository
    3434    dirs = [d[:-1] for d in GSASIIpath.svnList(tutURL,False).split('\n') if d and d[-1] == '/']   
    3535    for d in dirs:
    36         if d not in dirList: print(u"makeTutorial: Listed tutorial is missing: "+d)
     36        if d not in dirList: print(u"makeTutorial: tutorial directory not in GSASIIctrlGUI.tutorialIndex: "+d)
    3737
    3838    #import sys
Note: See TracChangeset for help on using the changeset viewer.