|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
|
|
from lib.sqlitedb import SQLiteDB
|
|
|
|
|
import lib.uis.default as default_cmd # Follows -u, -a, -f flags
|
|
|
|
|
|
|
|
|
|
from typing import List # Typing support!
|
|
|
|
|
import sqlite3 # sqlite3.Row-Object
|
|
|
|
|
import configparser
|
|
|
|
|
import sqlite3 # sqlite3.Row-Object
|
|
|
|
|
from typing import List # Typing support!
|
|
|
|
|
|
|
|
|
|
import lib.uis.default as default_cmd # Follows -u, -a, -f flags
|
|
|
|
|
from lib.sqlitedb import SQLiteDB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ListUsers:
|
|
|
|
@ -94,7 +94,6 @@ if __name__ == "__main__":
|
|
|
|
|
config = configparser.ConfigParser()
|
|
|
|
|
config.read(args.config)
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
ret = ""
|
|
|
|
|
if args.user is not None:
|
|
|
|
|
L = ListUsers(config['DEFAULT']['applications_db'], unapproved=args.unapproved, approved=args.approved,
|
|
|
|
@ -119,5 +118,3 @@ if __name__ == "__main__":
|
|
|
|
|
else:
|
|
|
|
|
print(ret)
|
|
|
|
|
exit(0)
|
|
|
|
|
except KeyboardInterrupt:
|
|
|
|
|
pass
|
|
|
|
|