Avoid to show package control errors when deviot is manually installed
@@ -45,6 +45,7 @@ def plugin_loaded():
# Checks if menu files exits
window.run_command("check_menu_files")
+ try:
from package_control import events
# alert when deviot was updated
@@ -55,7 +56,8 @@ def plugin_loaded():
message = I18n().translate("reset_after_upgrade")
sublime.message_dialog(message)
-
+ except ImportError:
+ pass
def plugin_unloaded():
from package_control import events
