1
0
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:
krateng 2022-04-09 21:02:17 +02:00
parent bb68afee12
commit 87f1250629
2 changed files with 9 additions and 7 deletions

View File

@ -11,7 +11,7 @@ from doreah.io import col
from . import __pkginfo__ as pkginfo
from . import globalconf
from .proccontrol import tasks
from .proccontrol.setup import setup
from .setup import setup

View File

@ -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
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
from ..apis import apikeystore
from .apis import apikeystore
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)
if answer: