

def on_activated(self, view):
    'View activated.'
    if xkcd_open:
        try:
            xkcd_open.pop()
        except Exception as e:
            print(str(e))
        if (self.file_name() != None):
            view.window().run_command('hide_panel', {
                'panel': 'output.xkcd_meta',
            })

dataset/ETHPy150Open eivind88/xkcd/xkcd.py EventDump.on_activated/VarMisuse@48/63 `view`->`self`