xkcdpass: locate_wordfile - allow search in static dir
authorTomas Krizek <redacted>
Mon, 1 May 2017 20:54:36 +0000 (22:54 +0200)
committerTomas Krizek <redacted>
Mon, 1 May 2017 22:14:39 +0000 (00:14 +0200)
commit6e8d63b451165b89d922619ad9f8b5fc1a9d6022
tree77fd8ab73c87a56a18386831dde88ea3388eaa81
parentb223066892de5f364610a03db9a3eb51c8e6ae63
xkcdpass: locate_wordfile - allow search in static dir

Change locate_wordfile to locate wordfiles in the following order:
  - inside static directory by their filename
  - any valid path provided as an argument
  - previous defaults if no argument is provided

Signed-off-by: Tomas Krizek <redacted>
xkcdpass/xkcd_password.py
git clone https://git.99rst.org/PROJECT