Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version 0.6.2

- Better handling of control characters in json session file.
  • Loading branch information...
commit f9da352f1a3da39a15a3f3f3239ad6845037c045 1 parent dd623f2
Isaac Muse authored
Showing with 4 additions and 1 deletion.
  1. +1 −1  favorites.py
  2. +3 −0  readme.md
2  favorites.py
View
@@ -84,7 +84,7 @@ def get_project(cls, win_id):
try:
with open(session, 'r') as f:
# Tabs in strings messes things up for some reason
- j = json.loads(f.read().replace('\t', " "))
+ j = json.JSONDecoder(strict=False).decode(f.read())
for w in j['windows']:
if w['window_id'] == win_id:
if "workspace_name" in w:
3  readme.md
View
@@ -30,6 +30,9 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+# Version 0.6.2
+- Better handling of control characters in json session file.
+
# Version 0.6.1
- Enable "Per Project Favorites" by default
Please sign in to comment.
Something went wrong with that request. Please try again.