diff options
| -rw-r--r-- | CHANGELOG.rst | 3 | ||||
| -rw-r--r-- | lesana/command.py | 2 | 
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3d29b90..21782eb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,9 @@  Unreleased  ========== +* Fixes running on an environment where EDITOR is not set. #7 +* Fixes editing an entry. #8 +  0.8.0  ===== diff --git a/lesana/command.py b/lesana/command.py index 9c27eca..2ef52e7 100644 --- a/lesana/command.py +++ b/lesana/command.py @@ -161,7 +161,7 @@ class Edit(Command):              )          entry = entries[0]          # update the entry before editing it -        entry.update() +        entry.auto()          collection.save_entries([entry])          # and then edit the updated file          filepath = os.path.join(collection.itemdir, entry.fname)  | 
