From 1be0709749b80cc64ad40204d40b33b3b2bf7289 Mon Sep 17 00:00:00 2001 From: qb-auto Date: Sun, 30 May 2021 06:02:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 4 +++- clean-up.logs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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