nmaping 2.0__tar.gz → 2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nmaping
3
- Version: 2.0
3
+ Version: 2.1
4
4
  Summary: An automation and network scanning utility tool.
5
5
  Author-email: "Mr. Tan" <mrtanvai@gmail.com>
6
6
  License: Custom License
@@ -278,8 +278,11 @@ def cli_main():
278
278
 
279
279
  run_scan(args.target, args.scan, args.timing, save=not args.no_save)
280
280
 
281
- if __name__ == "__main__":
281
+ def main():
282
282
  if len(sys.argv) > 1:
283
283
  cli_main()
284
284
  else:
285
- menu()
285
+ menu()
286
+
287
+ if __name__ == "__main__":
288
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nmaping
3
- Version: 2.0
3
+ Version: 2.1
4
4
  Summary: An automation and network scanning utility tool.
5
5
  Author-email: "Mr. Tan" <mrtanvai@gmail.com>
6
6
  License: Custom License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nmaping"
7
- version = "2.0"
7
+ version = "2.1"
8
8
  authors = [
9
9
  { name="Mr. Tan", email="mrtanvai@gmail.com" },
10
10
  ]
File without changes
File without changes
File without changes