Prepare public release with MIT license and private user storage
This commit is contained in:
parent
41772b4d1a
commit
eb8932134a
12 changed files with 175 additions and 26 deletions
|
|
@ -61,7 +61,7 @@ class Grocy:
|
|||
class Journal:
|
||||
"""Commit intent before each write; ambiguous writes require explicit reconciliation."""
|
||||
def __init__(self, path: Path):
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
path.parent.mkdir(parents=True, exist_ok=True, mode=0o700)
|
||||
self.db = sqlite3.connect(path)
|
||||
self.db.execute("""CREATE TABLE IF NOT EXISTS imports (
|
||||
server TEXT, order_id TEXT, line INTEGER, fingerprint TEXT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue