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
5fd8ec051a62e7a2574fba2151da71411f36771e
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
content_type
=
''
10
11
def
SendFile
():
12
pass