Skip to content

Commit

Permalink
Merge pull request #744 from LipuFei/fix_rc1
Browse files Browse the repository at this point in the history
fix channel refreshState()
  • Loading branch information
whirm committed Aug 6, 2014
2 parents 8e8b8fc + 5ce3490 commit c0932d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Tribler/Main/vwxGUI/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ def db_callback():
if channel:
t2 = time()

state = iamModerator = None
if stateChanged:
state, iamModerator = channel.refreshState()
else:
state = iamModerator = None
result = channel.refreshState()
if result:
state, iamModerator = channel.refreshState()

if self.list.channel.isDispersy():
nr_playlists, playlists = self.channelsearch_manager.getPlaylistsFromChannel(channel)
Expand Down

0 comments on commit c0932d2

Please sign in to comment.