HakObserverpy 2.2.0__tar.gz → 2.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.
@@ -649,6 +649,7 @@ def get_iis_sites(HWDeviceID):
649
649
  state = site.get("state", "N/A")
650
650
  path = site.get("physicalPath", "N/A")
651
651
  bindings = site.get("bindings", {}).get("Collection", [])
652
+ strPath = str(path).replace("\\", "**")
652
653
 
653
654
  print(f"Site Name : {name}")
654
655
  print(f"State : {state}")
@@ -656,7 +657,7 @@ def get_iis_sites(HWDeviceID):
656
657
  print("Bindings :")
657
658
 
658
659
  #Insert_IIS(HWDeviceID,name, state,str(path).replace("\"","**"))
659
- url = f"https://api.hakware.com/HakObserver/InsertIIS/{HWDeviceID}/{name}/{state}/{str(path).replace("\"","**")}"
660
+ url = f"https://api.hakware.com/HakObserver/InsertIIS/{HWDeviceID}/{name}/{state}/{strPath}"
660
661
 
661
662
  session = HTMLSession()
662
663
 
@@ -806,4 +807,3 @@ def InitiateCollecection(HWDeviceID, ObserverVersion):
806
807
 
807
808
 
808
809
 
809
- collect_firewall_logs()
@@ -2,7 +2,7 @@
2
2
  from .HakObserverpy import InitiateCollecection # Import the function from the correct module
3
3
 
4
4
  # Optional: Define a version number for the package
5
- __version__ = "2.2.0"
5
+ __version__ = "2.2.1"
6
6
 
7
7
  # Optional: Define the package's public interface
8
8
  __all__ = ["InitiateCollecection"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: HakObserverpy
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: A package connect endpoints to the Hakware Application
5
5
  Author: Jacob O'Brien
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: HakObserverpy
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: A package connect endpoints to the Hakware Application
5
5
  Author: Jacob O'Brien
6
6
  Classifier: Programming Language :: Python :: 3
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
3
3
 
4
4
  setup(
5
5
  name='HakObserverpy',
6
- version='2.2.0',
6
+ version='2.2.1',
7
7
  description='A package connect endpoints to the Hakware Application',
8
8
  long_description=open('README.md').read(),
9
9
  long_description_content_type='text/markdown',
File without changes
File without changes