Changeset 6988:cdaff901c548 in orange


Ignore:
Timestamp:
09/25/10 08:37:40 (4 years ago)
Author:
matija <matija.polajnar@…>
Branch:
default
Convert:
e0c05cde3178163691e96a6d811565f6a783e6ca
Message:

bugfix in addon packaging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngAddOns.py

    r6581 r6988  
    439439""" % (i, docFile, iconFile, i, i, i, docFile, w.name) 
    440440                else: 
    441                     open(os.path.join(self.directoryDocumentation(), "widgets", docFile+".skeleton"), 'w').write(self.widgetDocSkeleton(w, prototype=p)) 
     441                    skeletonFileName = os.path.join(self.directoryDocumentation(), "widgets", docFile+".skeleton") 
     442                    if not os.path.isdir(os.path.dirname(skeletonFileName)): 
     443                        os.mkdir(os.path.dirname(skeletonFileName)) 
     444                    open(skeletonFileName, 'w').write(self.widgetDocSkeleton(w, prototype=p)) 
    442445                    html += """  <td id="cid%d" class="left-nodoc"> 
    443446      <div class="rnd11"></div> 
Note: See TracChangeset for help on using the changeset viewer.