moved misplaced docstring
This commit is contained in:
parent
d08b62dd39
commit
1c084a3101
2 changed files with 5 additions and 8 deletions
|
@ -123,17 +123,16 @@ class AirtimeNotifier(Notifier):
|
|||
self.logger.error("traceback: %s", traceback.format_exc())
|
||||
|
||||
|
||||
def update_airtime(self, event):
|
||||
"""
|
||||
Update airtime with information about files discovered in our
|
||||
watched directories.
|
||||
watched directories.
|
||||
event: a dict() object with the following attributes:
|
||||
-filepath
|
||||
-mode
|
||||
-data
|
||||
-is_recorded_show
|
||||
-is_recorded_show
|
||||
"""
|
||||
def update_airtime(self, event):
|
||||
|
||||
try:
|
||||
self.logger.info("updating filepath: %s ", event['filepath'])
|
||||
filepath = event['filepath']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue