Update gen-apt-config.py

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-07-21 15:05:25 +03:00 committed by GitHub
parent 3041473f70
commit 703903091c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@ for file in srcnames_files:
srcname = line.strip()
srcname_lines.append(srcname)
result = subprocess.run([current_path + "/apt_experiments", '-n', srcname], stdout=subprocess.PIPE)
stdout = result.stdout.decode("unicode_escape").encode('ascii').decode('ascii')
stdout = result.stdout.decode("unicode_escape").encode('utf-8').decode('utf-8')
pkgname_lines.append(stdout)
file.close()