mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-30 23:03:03 -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")
|
||||
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():
|
||||
parser = argparse.ArgumentParser(description="Import devices from settings")
|
||||
|
||||
Reference in New Issue
Block a user