bug fix: email debugger

This commit is contained in:
usman@cyberpersons.com
2023-01-25 11:27:17 +05:00
parent 312dba6619
commit 6cb68a61b2

View File

@@ -166,7 +166,7 @@ class ProcessUtilities(multi.Thread):
distroPath = '/etc/lsb-release'
if os.path.exists(distroPath):
if open(distroPath, 'r').read().find('20.04') > -1:
if open(distroPath, 'r').read().find('20.04') > -1 or open(distroPath, 'r').read().find('22.04'):
return ProcessUtilities.ubuntu20
return ProcessUtilities.ubuntu
else: