Updates #245
@@ -1,7 +1,10 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
try:
|
||||||
from InquirerPy import inquirer
|
from InquirerPy import inquirer
|
||||||
from InquirerPy.base.control import Choice
|
from InquirerPy.base.control import Choice
|
||||||
from InquirerPy.separator import Separator
|
from InquirerPy.separator import Separator
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
inquirer = None
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
from typing import List
|
from typing import List
|
||||||
@@ -200,6 +203,9 @@ def hack_option(args):
|
|||||||
|
|
||||||
|
|
||||||
def interact():
|
def interact():
|
||||||
|
if inquirer is None:
|
||||||
|
print('Please, install InquirerPy module first')
|
||||||
|
return
|
||||||
os.system("clear")
|
os.system("clear")
|
||||||
args = argparse.Namespace()
|
args = argparse.Namespace()
|
||||||
android_version = inquirer.select(
|
android_version = inquirer.select(
|
||||||
|
|||||||
Reference in New Issue
Block a user