cleanup
This commit is contained in:
parent
66234077a4
commit
d15793f14e
@ -84,13 +84,8 @@ class MediaWatcher:
|
|||||||
|
|
||||||
def __init__(self, media):
|
def __init__(self, media):
|
||||||
self._media = media
|
self._media = media
|
||||||
|
|
||||||
print(_storage.extensions)
|
|
||||||
|
|
||||||
self.extensions = ['*{}'.format(ext) for ext in _storage.extensions]
|
self.extensions = ['*{}'.format(ext) for ext in _storage.extensions]
|
||||||
|
|
||||||
print(self.extensions)
|
|
||||||
|
|
||||||
self.event_handler = PatternMatchingEventHandler(
|
self.event_handler = PatternMatchingEventHandler(
|
||||||
patterns=self.extensions)
|
patterns=self.extensions)
|
||||||
self.event_handler.on_created = self.on_created
|
self.event_handler.on_created = self.on_created
|
||||||
|
Loading…
x
Reference in New Issue
Block a user