From 7d4f64b49eb8e558b15484dd279c9b75acbd32fe Mon Sep 17 00:00:00 2001 From: Gerard Roche Date: Sun, 2 Sep 2018 07:27:51 +0100 Subject: [PATCH] Fix #10 TypeError when using ctrl+alt+o --- CHANGELOG.md | 5 +++++ plugin.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c83383..4f49204 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## [2.0.1] - 2018-09-02 + +* Fixed [#10](https://github.com/gerardroche/sublime-open-sesame/issues/10): TypeError when using `CTRL+ALT+o` + ## [2.0.0] - 2018-06-17 ### Added @@ -228,6 +232,7 @@ Old settings `open-sesame.*` have been renamed `sesame.*`, these will be auto mi * Initial import +[2.0.1]: https://github.com/gerardroche/sublime-open-sesame/compare/2.0.0...2.0.1 [2.0.0]: https://github.com/gerardroche/sublime-open-sesame/compare/1.8.0...2.0.0 [1.8.0]: https://github.com/gerardroche/sublime-open-sesame/compare/1.7.0...1.8.0 [1.7.0]: https://github.com/gerardroche/sublime-open-sesame/compare/1.6.0...1.7.0 diff --git a/plugin.py b/plugin.py index 7f99b1b..014f05e 100644 --- a/plugin.py +++ b/plugin.py @@ -160,7 +160,7 @@ def _find_folders(window, **kwargs): return [] defaults = { - "depth": int(kwargs.get('depth', settings.get('sesame.depth'))), + "depth": int(kwargs.get('depth', settings.get('sesame.depth', 2))), "vcs": kwargs.get('vcs', settings.get('sesame.vcs')) }