We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9196c32 commit b35e195Copy full SHA for b35e195
1 file changed
nxc/helpers/pfx.py
@@ -503,7 +503,8 @@ def pfx_auth(self):
503
return None
504
505
username = self.args.username[0]
506
- log_ccache = os.path.normpath(os.path.expanduser(f"{NXC_PATH}/logs/{self.hostname}_{self.host}_{datetime.datetime.now().strftime('%Y-%m-%d_%H%M%S')}-{username}.ccache".replace(":", "-")))
+ timestamp = datetime.datetime.now().strftime("%Y-%m-%d_%H%M%S").replace(":", "-")
507
+ log_ccache = os.path.normpath(os.path.expanduser(f"{NXC_PATH}/logs/{self.hostname}_{self.host}_{timestamp}-{username}.ccache"))
508
509
# Request a TGT with the cert data
510
req = ini.build_asreq(self.domain, username)
0 commit comments