Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lock (-l) and unlock (-k) ignore --db #796

@xxxserxxx

Description

@xxxserxxx

Reproduce with:

buku --db foo.db -a https://www.bing.com
buku --db foo.db -l
buku --db foo.db --sany bing

Actual result: the bing URL.

Expected result: Error, unlock DB first.

Also, locking --db foo.db actually locks the default DB, so after the above example:

buku --sany term

does result in an "[ERROR] Unlock database first" error. I'd expect it not to.

buku --version: 4.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions