raise ValueError, "parameter must not be empty"
key = "/" + bbs + "/" + board + "/" + thread
- window = windowlist.get_window(key)
- if window:
+ winwrap = windowlist.get_window(key)
+ if winwrap:
# already opened
- window.present()
+ winwrap.window.present()
pass
else:
win_wrap = WinWrap(bbs, board, thread)
- windowlist.window_created(key, win_wrap.window)
+ windowlist.window_created(key, win_wrap)
class WinWrap: