- Timestamp:
- 2015-04-12T15:04:55Z (10 years ago)
- Children:
- 531eabd
- Parents:
- c5a7b8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/implugin.py
rc5a7b8d rf15553d 77 77 "oauth": { 78 78 "default": "off", 79 "type": "bool", 79 80 }, 80 81 "test": { 81 82 "default": "123", 83 "type": "int", 82 84 }, 85 "stringetje": { 86 "default": "testje", 87 "flags": 0x04, 88 } 83 89 }, 84 90 } … … 104 110 def set_away(self, state, message): 105 111 print "You're a slacker: %s (%r)" % (state, message) 112 113 def set_set(self, setting, value): 114 print "Setting %s changed to %r" % (setting, value) 106 115 107 116 def RunPlugin(plugin, debug=True):
Note: See TracChangeset
for help on using the changeset viewer.