def requestDOIInformationCallback(self, p1, p2): text = DoiLookup.getDOIInformation(self.doi) self.text.get_buffer().insert_at_cursor('\nDOI Information: \n') for k,v in text.items(): self.text.get_buffer().insert_at_cursor("%-*s: %s\n" % (15, k, v))
def requestDOIInformationCallback(self, p1, p2): text = DoiLookup.getDOIInformation(self.doi) self.text.get_buffer().insert_at_cursor('\nDOI Information: \n') for k, v in text.items(): self.text.get_buffer().insert_at_cursor("%-*s: %s\n" % (15, k, v))