|
|
@@ -1,7 +1,7 @@
|
|
|
import sites as sites
|
|
|
-import console as console
|
|
|
+from helper import console as console
|
|
|
import os.path
|
|
|
-from settings import Settings
|
|
|
+from helper.settings import Settings
|
|
|
|
|
|
|
|
|
def init():
|
|
|
@@ -43,9 +43,9 @@ def main():
|
|
|
def choose_site():
|
|
|
global selected_site
|
|
|
_index = console.option_picker('Available sites',
|
|
|
- list(map(lambda x: x.url, sites.available)),
|
|
|
- selected_site,
|
|
|
- True)
|
|
|
+ list(map(lambda x: x.url, sites.available)),
|
|
|
+ selected_site,
|
|
|
+ True)
|
|
|
if _index is not None:
|
|
|
selected_site = _index
|
|
|
return True
|