def on_activated(self, view):
        if xkcd_open:
            try:
                xkcd_open.pop()
            except Exception as e:
                print(str(e))
            if view.file_name() != None:
                view.window().run_command(
                    "hide_panel", {"panel": "output.xkcd_meta"})
View activated.
dataset/ETHPy150Open eivind88/xkcd/xkcd.py/EventDump.on_activated