diff --git a/app.py b/app.py index 8c2cd44..95ae237 100755 --- a/app.py +++ b/app.py @@ -17,7 +17,7 @@ from logging.handlers import RotatingFileHandler from sys import platform from os import path, system, makedirs from time import time, sleep -from argparse import ArgumentParser,SUPPRESS +from argparse import ArgumentParser, SUPPRESS from json import load, dumps from uuid import uuid4 from functools import wraps @@ -656,6 +656,7 @@ class ArgumentParser(ArgumentParser): def error(self, message): self.exit(2, 'Error: %s\n' % (message)) + def parse_args(): ARGV = None ARG_PARSER = ArgumentParser(description="Qeeqbox/social-analyzer - API and Web App for analyzing & finding a person's profile across 300+ social media websites (Detections are updated regularly)", usage=SUPPRESS) @@ -694,6 +695,7 @@ def init_logic(): SHARED_DETECTIONS = init_detections("shared_detections") GENERIC_DETECTION = init_detections("generic_detection") + def main_logic(ARGV=None): global LANGUAGES_JSON global SITES_DUMMY diff --git a/clean-up.logs b/clean-up.logs index 2ace89f..a1c98a3 100755 --- a/clean-up.logs +++ b/clean-up.logs @@ -1,4 +1,4 @@ -Sun May 30 02:49:57 UTC 2021 +Sun May 30 06:02:16 UTC 2021 [X] social-analyzer [X] installing autopep8 & jq [X] running autopep8