bugfix: sing
This commit is contained in:
		| @@ -24,13 +24,10 @@ class Utility: | ||||
|         Returns: | ||||
|             Union[bool, tuple] | ||||
|         """ | ||||
|         logging.debug("Activity? %s", activity) | ||||
|         try: | ||||
|             if (not song or len(song) < 2) and not activity: | ||||
|                 # pylint: disable=superfluous-parens | ||||
|                 return False | ||||
|                 # pylint: enable=superfluous-parens | ||||
|             if not song and isinstance(activity, Activity): | ||||
|             if not song and activity: | ||||
|                 if not activity.name: | ||||
|                     return False # No valid activity found | ||||
|                 match activity.name.lower(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user