Message271539
Yeah, just add 'global testplugin' at the top of your function, before your import it (you'll also need a global statement if you want to delete/re-import it). You might want to take a look at importlib if you wish to dynamically load modules (especially reloading them, which is a pain). |
|
Date |
User |
Action |
Args |
2016-07-28 12:21:04 | abarry | set | recipients:
+ abarry, Decorater |
2016-07-28 12:21:04 | abarry | set | messageid: <1469708464.13.0.739971617613.issue27642@psf.upfronthosting.co.za> |
2016-07-28 12:21:04 | abarry | link | issue27642 messages |
2016-07-28 12:21:04 | abarry | create | |
|