fmoralesc / pastie

a simple *nix clipboard manager with application-indicator support
45 stars 7 forks source link

Check for a ParseError when loading the history #45

Closed PhoneixS closed 9 years ago

PhoneixS commented 9 years ago

When for whatever reason we get an empty clipboard_history file a ParseError is throw.

What I have done is simply catch this exception and return the empty list as we can't know what we have in the history file.

This is very similar to issue #4 . I don't know why but the raised exception is now ParseError.

I'm using Ubuntu 14.04