repo.or.cz
/
pyTivo
/
krkeegan.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pyTivo
[pyTivo/krkeegan.git]
/
plugin.py
blob
15ea1846e2f885e7b75640efe2882c0e61d4f479
1
def
GetPlugin
(
name
):
2
module_name
=
'.'
.
join
([
'plugins'
,
name
,
name
])
3
module
=
__import__
(
module_name
,
fromlist
=
name
)
4
plugin
=
getattr
(
module
,
name
)()
5
return
plugin
6
7
class
Plugin
:
8
9
commands
= {}
10
content_type
=
''
11
12
def
SendFile
():
13
pass