View Single Post
Old 10-06-2017, 12:29 AM   #234
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,742
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DiapDealer View Post
It looks to be OK at first glance. You may want to add a try/except clause around the os.remove() call so that it can fail gracefully, though.
That's a god idea. I'll add a try/except clause to check for locked backup files.

Quote:
Originally Posted by DiapDealer View Post
A way for the user to exempt specific files (or file-types) might stave off future trouble.
I can't think of any other "allowable" unmanifested file types. If this actually becomes an issue, I'll add a setting for it. (I don't think that the plugin'll be widely used anyway.)
Doitsu is offline   Reply With Quote