Skip to content

Commit 3328c30

Browse files
committed
Added example plugin file
1 parent f384ffe commit 3328c30

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

plugins/examplePlugin.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from plugnplay import Plugin
2+
from TardisUtil import TimeSubmitter
3+
4+
5+
class ExamplePlugin(Plugin):
6+
implements = [TimeSubmitter]
7+
8+
def submit_time(self, duration):
9+
print("Time submitted: %f" % duration)

0 commit comments

Comments
 (0)