(self, package)
| 603 | |
| 604 | @style.inner |
| 605 | def _nextFileOrder(self, package): |
| 606 | self.c.execute('SELECT MAX(linkorder) FROM links WHERE package=?', (package,)) |
| 607 | max = self.c.fetchone()[0] |
| 608 | if max is not None: |
| 609 | return max + 1 |
| 610 | else: |
| 611 | return 0 |
| 612 | |
| 613 | @style.queue |
| 614 | def addLink(self, url, name, plugin, package): |