Exception on `on_activated` when no view is opened

Issue #1 resolved
Emanuele D'Osualdo
created an issue

When checking if the current view is a zip file here:

    def on_activated(self, activated_view):
        view = activated_view.window().active_view()

you should check if window has an active_view() attribute (or wrap in a try/catch) otherwise you get an exception when you open sublime without pointing it to a file.

Comments (2)

  1. Log in to comment