Last,fm Loved Tracks plugin fails on unload

Bug #739264 reported by Rocco Aliberti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Rocco Aliberti

Bug Description

rev3812

Little bug (a typo, i think) if you unload that plugin before really using it.

Traceback (most recent call last):
  File "/usr/lib64/exaile/xl/plugins.py", line 138, in disable_plugin
    plugin.disable(self.exaile)
  File "/usr/share/exaile/plugins/lastfmlove/__init__.py", line 63, in disable
    LASTFMLOVER.destroy()
  File "/usr/share/exaile/plugins/lastfmlove/__init__.py", line 198, in destroy
    if self.timer.is_alive():
AttributeError: 'NoneType' object has no attribute 'is_alive'

Patch attached.

Related branches

Revision history for this message
Rocco Aliberti (eri.trabiccolo) wrote :
Revision history for this message
Mathias Brodala (mathbr) wrote :

Fixed with r3813, thanks.

Changed in exaile:
importance: Undecided → Low
milestone: none → 0.3.3.0
status: New → Fix Committed
assignee: nobody → Rocco Aliberti (eri.trabiccolo)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.