Changeset 4010:8294833678a5 in orange


Ignore:
Timestamp:
07/19/07 16:05:11 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
6b682ccf36ce1c4c21e8b5e08163b4598ee7617d
Message:
  • changed a few names in report functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWWidget.py

    r3567 r4010  
    133133            print "Cannot open a new report when an old report is still active" 
    134134            return False 
    135         self.reportData = "<H1>%s</H1>\n" % name 
     135        self.reportName = name 
     136        self.reportData = "" 
    136137        if needDirectory: 
    137138            import OWReport 
    138             return OWReport.createDirectory() 
     139            return OWReport.reportFeeder.createDirectory() 
    139140        else: 
    140141            return True 
     
    177178    def finishReport(self): 
    178179        import OWReport 
    179         OWReport.feed(self.reportData or "") 
     180        OWReport.reportFeeder(self.reportName, self.reportData or "") 
    180181        self.reportData = None 
    181182 
Note: See TracChangeset for help on using the changeset viewer.