use init, not create
This commit is contained in:
parent
07173e4999
commit
b0ef8c3fc0
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
from configparser import ConfigParser
|
from configparser import ConfigParser
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import datalad.api as dl
|
|
||||||
import os
|
import os
|
||||||
from .tracker import save, init
|
from .tracker import save, init
|
||||||
|
|
||||||
|
|
@ -63,7 +62,7 @@ def create(path: str) -> None:
|
||||||
Create folder of backlogs.
|
Create folder of backlogs.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
create(path)
|
init(path)
|
||||||
_create_db(os.path.join(path, 'backlogger.db'))
|
_create_db(os.path.join(path, 'backlogger.db'))
|
||||||
os.chmod(os.path.join(path, 'backlogger.db'), 0o666) # why does this not work?
|
os.chmod(os.path.join(path, 'backlogger.db'), 0o666) # why does this not work?
|
||||||
_create_config(path)
|
_create_config(path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue