mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-04 17:21:23 -07:00
PLG: ARPSCAN remove debug output
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -31,18 +31,6 @@ LOG_PATH = logPath + "/plugins"
|
|||||||
LOG_FILE = os.path.join(LOG_PATH, f"script.{pluginName}.log")
|
LOG_FILE = os.path.join(LOG_PATH, f"script.{pluginName}.log")
|
||||||
RESULT_FILE = os.path.join(LOG_PATH, f"last_result.{pluginName}.log")
|
RESULT_FILE = os.path.join(LOG_PATH, f"last_result.{pluginName}.log")
|
||||||
|
|
||||||
# DEBUG START
|
|
||||||
|
|
||||||
# mylog("debug", "User:", getpass.getuser())
|
|
||||||
mylog("verbose", "UID:", getattr(os, "getuid", lambda: "n/a")())
|
|
||||||
mylog("verbose", "Executable:", sys.executable)
|
|
||||||
mylog("verbose", "Python:", sys.version.split()[0])
|
|
||||||
mylog("verbose", "Virtualenv:", sys.prefix != sys.base_prefix)
|
|
||||||
mylog("verbose", "VIRTUAL_ENV:", os.environ.get("VIRTUAL_ENV"))
|
|
||||||
mylog("verbose", "CWD:", os.getcwd())
|
|
||||||
|
|
||||||
# DEBUG END
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser(description="Import devices from settings")
|
parser = argparse.ArgumentParser(description="Import devices from settings")
|
||||||
|
|||||||
Reference in New Issue
Block a user