mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Moved setup to top level
This commit is contained in:
@@ -11,7 +11,7 @@ from doreah.io import col
|
|||||||
from . import __pkginfo__ as pkginfo
|
from . import __pkginfo__ as pkginfo
|
||||||
from . import globalconf
|
from . import globalconf
|
||||||
from .proccontrol import tasks
|
from .proccontrol import tasks
|
||||||
from .proccontrol.setup import setup
|
from .setup import setup
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
from importlib import resources
|
|
||||||
from distutils import dir_util
|
|
||||||
from doreah.io import col, ask, prompt
|
|
||||||
from doreah import auth
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from ..globalconf import data_dir, dir_settings, malojaconfig
|
from importlib import resources
|
||||||
|
from distutils import dir_util
|
||||||
|
|
||||||
|
from doreah.io import col, ask, prompt
|
||||||
|
from doreah import auth
|
||||||
|
|
||||||
|
from .globalconf import data_dir, dir_settings, malojaconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -48,7 +50,7 @@ def setup():
|
|||||||
|
|
||||||
|
|
||||||
# OWN API KEY
|
# OWN API KEY
|
||||||
from ..apis import apikeystore
|
from .apis import apikeystore
|
||||||
if len(apikeystore) == 0:
|
if len(apikeystore) == 0:
|
||||||
answer = ask("Do you want to set up a key to enable scrobbling? Your scrobble extension needs that key so that only you can scrobble tracks to your database.",default=True,skip=SKIP)
|
answer = ask("Do you want to set up a key to enable scrobbling? Your scrobble extension needs that key so that only you can scrobble tracks to your database.",default=True,skip=SKIP)
|
||||||
if answer:
|
if answer:
|
||||||
Reference in New Issue
Block a user