summaryrefslogtreecommitdiff
path: root/scapy/ping.py
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-07-07 09:33:33 +0200
committerjerome <jerome@xlinfo.fr>2025-07-07 09:33:33 +0200
commitfb02675631cea33ba3660f96febe4a34fa0502b8 (patch)
tree48328cc30866be22f81eab60dc2cde07048e0a27 /scapy/ping.py
parent4a877ace04d47b48edea16d695b23205a99c5f36 (diff)
downloadpython-fb02675631cea33ba3660f96febe4a34fa0502b8.tar.gz
python-fb02675631cea33ba3660f96febe4a34fa0502b8.zip
scapy try except
Diffstat (limited to 'scapy/ping.py')
-rw-r--r--scapy/ping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scapy/ping.py b/scapy/ping.py
index 6baccff..dfb34ec 100644
--- a/scapy/ping.py
+++ b/scapy/ping.py
@@ -17,4 +17,4 @@ if __name__ == "__main__":
try:
scanping()
except PermissionError:
- print(f"{sys.argv[0]} nécessite les droits root")
+ print("Ce script nécessite les droits root")