Skip to content

Commit

Permalink
Version 0.51. See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Git committed Oct 15, 2023
1 parent c0c9b63 commit e9faa60
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions certificate/certificateModule.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Certificate Module
# Version: 0.20
# Last updated: 2023-09-15
# Version: 0.22
# Last updated: 2023-10-14
# Author: TheScriptGuy

import ssl
Expand Down Expand Up @@ -85,10 +85,10 @@ def getCertificate(self, __hostinfo: dict) -> dict:
"connectionCipher": None,
}

try:
# Lets get a timestamp for this attempt
timeNow = datetime.datetime.utcnow().replace(microsecond=0)
# Lets get a timestamp for this attempt
timeNow = datetime.datetime.utcnow().replace(microsecond=0)

try:
# Create a new socket.
with socket.socket() as sock:
# Set timeout value for socket to 10 seconds.
Expand Down Expand Up @@ -516,7 +516,7 @@ def uploadJsonData(self, __certificateJsonData: dict, __httpUrl: str) -> str:
def __init__(self, __contextVariables=0):
"""Initialize the class."""
self.initialized = True
self.moduleVersion = "0.18"
self.moduleVersion = "0.22"
self.certificate = {}
if __contextVariables == 1:
self.contextVariables = self.getContextVariables()
Expand Down

0 comments on commit e9faa60

Please sign in to comment.