diff --git a/gen-apt-config.py b/gen-apt-config.py index d96e63a..6d014ed 100755 --- a/gen-apt-config.py +++ b/gen-apt-config.py @@ -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 + stdout = str(result.stdout) pkgname_lines.append(stdout) pkgname_lines.append(stdout + "t64") file.close() @@ -68,4 +68,4 @@ with open("exp_pkg_names.json", "w") as twitterDataFile: twitterDataFile.write( json.dumps(pkg_data, indent=4) ) - \ No newline at end of file +