add further debugging to cpanel importerg

This commit is contained in:
usmannasir
2024-10-10 22:40:56 +05:00
parent f25485ae07
commit 0804176c6d
2 changed files with 26 additions and 0 deletions

View File

@@ -116,6 +116,8 @@ Subject: %s
@staticmethod
def statusWriter(tempStatusPath, mesg, append = None):
try:
if os.path.exists('/usr/local/CyberCP/debug'):
print(mesg)
if append == None:
statusFile = open(tempStatusPath, 'w')
else: