usman@cyberpersons.com
2023-08-08 15:26:29 +05:00
parent cf78c61f03
commit b3726e7b53
4 changed files with 24 additions and 0 deletions

View File

@@ -665,6 +665,9 @@ class MailServerManager(multi.Thread):
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
ProcessUtilities.executioner(command)
import tldextract
extractDomain = tldextract.extract(domainName)
@@ -730,6 +733,9 @@ class MailServerManager(multi.Thread):
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.8/site-packages/tldextract/.suffix_cache'
ProcessUtilities.executioner(command)
command = 'chown cyberpanel:cyberpanel -R /usr/local/CyberCP/lib/python3.10/site-packages/tldextract/.suffix_cache/urls/62bf135d1c2f3d4db4228b9ecaf507a2.tldextract.json.lock'
ProcessUtilities.executioner(command)
import tldextract
extractDomain = tldextract.extract(domainName)