Diff
Differences From Artifact [fa4b19ec2a]:
- File channels/exportcat.py — part of check-in [ebae9e51ac] at 2015-04-21 06:05:56 on branch trunk — Replace old __print__/dbg.XYZ references with new log.XYZ() wrapper. (user: mario, size: 2122) [annotate] [blame] [check-ins using]
To Artifact [359b4701e7]:
- File channels/exportcat.py — part of check-in [266321da13] at 2015-04-21 22:00:34 on branch trunk — Fix missing .module property for add_plugin_defaults. (user: mario, size: 2147) [annotate] [blame] [check-ins using]
| ︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | + |
import re
# provides another export window, and custom file generation - does not use action.save()
class exportcat():
meta = plugin_meta()
module = "exportcat"
# Register callback
def __init__(self, parent):
conf.add_plugin_defaults(self.meta, self.module)
if parent:
self.parent = parent
uikit.add_menu([parent.extensions, parent.extensions_context], "Export all stations", self.savewindow)
|
| ︙ |