Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
k4nar committed Oct 9, 2015
2 parents 4b86eac + fd8036f commit 2f9f522
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ tmp/*
*.sublime-workspace
public/*
.sass-cache/
.cache/
bower_components/
node_modules/
.tox
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This document records all notable changes to Watson. This project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.2 (2015-10-09)

- Fix a bug where the last frame could not be deleted
- Improve installation instructions
- Add an explanation to remove all the frames

## 1.0.1 (2015-09-17)

Fix packaging error with PyPI
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ $ pip install td-watson

You might need to run this command as root in order to install Watson globally.

Alternatively, you can choose to install Watson for your user only by running:

```bash
$ pip install --user td-watson
```

If after this the `watson` command is not available, you need to add `~/.local/bin/` to your PATH. If your terminal is Bash, you can do this by running:

```bash
$ echo 'export PATH="$HOME/.local/bin:$PATH"' >> .bashrc # Add ~/.local/bin/ to your .bashrc PATH
```

and restarting your terminal session.

### Development version

The latest development version can be installed using the following commands:
Expand Down Expand Up @@ -241,3 +255,8 @@ On Mac, this is `~/Library/Application Support/watson/config`, on Windows this i

If you want to edit your configuration, the best is to use the
[`config`](#config) command.

### Deleting all your frames

If you want to remove all your frames, you can delete the `frames` file in your
configuration folder (see above to find its location).
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='td-watson',
version='1.0.1',
version='1.0.2',
packages=['watson'],
author='TailorDev',
author_email='contact@tailordev.com',
Expand Down
2 changes: 1 addition & 1 deletion watson/watson.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def save(self):
with open(self.state_file, 'w+') as f:
json.dump(current, f, indent=1)

if self._frames and self._frames.changed:
if self._frames is not None and self._frames.changed:
with open(self.frames_file, 'w+') as f:
json.dump(self.frames.dump(), f, indent=1)

Expand Down

0 comments on commit 2f9f522

Please sign in to comment.