diff --git a/src/versions/solarfm-0.0.1/SolarFM/solarfm/utils/event_system.py b/src/versions/solarfm-0.0.1/SolarFM/solarfm/utils/event_system.py index 53aa64e..10b2765 100644 --- a/src/versions/solarfm-0.0.1/SolarFM/solarfm/utils/event_system.py +++ b/src/versions/solarfm-0.0.1/SolarFM/solarfm/utils/event_system.py @@ -22,7 +22,7 @@ class EventSystem: if event_type in self.subscribers: for fn in self.subscribers[event_type]: if data: - if hasattr(data, '__iter__'): + if hasattr(data, '__iter__') and not type(data) is str: fn(*data) else: fn(data)