Merge Stable Changesto Master #9
.gitignore
plugins
favorites
file_properties
movie_tv_info
searcher
template
vod_thumbnailer
youtube_download
src/versions/solarfm-0.0.1/SolarFM/solarfm
@@ -22,7 +22,7 @@ class EventSystem:
|
|||||||
if event_type in self.subscribers:
|
if event_type in self.subscribers:
|
||||||
for fn in self.subscribers[event_type]:
|
for fn in self.subscribers[event_type]:
|
||||||
if data:
|
if data:
|
||||||
if hasattr(data, '__iter__'):
|
if hasattr(data, '__iter__') and not type(data) is str:
|
||||||
fn(*data)
|
fn(*data)
|
||||||
else:
|
else:
|
||||||
fn(data)
|
fn(data)
|
||||||
|
Reference in New Issue
Block a user