GilangAlRusliadi commited on
Commit
8062f2a
1 Parent(s): abbd2d3
Files changed (1) hide show
  1. Torrent.py +2 -1
Torrent.py CHANGED
@@ -89,6 +89,7 @@ def torrent_download(link, selected_files):
89
  return downloaded_files
90
 
91
  def torrent_group(x, input):
 
92
  text = f"""{input}"""
93
 
94
  lines = text.split("\n")
@@ -100,7 +101,7 @@ def torrent_group(x, input):
100
  # Tampilkan hasil kelompokan dan tulis ke file
101
  for i, group in enumerate(groups):
102
  result = ", ".join(group)
103
- info = f"Kelompok {i+1}: {result}\n"
104
 
105
  return info
106
 
 
89
  return downloaded_files
90
 
91
  def torrent_group(x, input):
92
+ info = ""
93
  text = f"""{input}"""
94
 
95
  lines = text.split("\n")
 
101
  # Tampilkan hasil kelompokan dan tulis ke file
102
  for i, group in enumerate(groups):
103
  result = ", ".join(group)
104
+ info += f"Kelompok {i+1}: {result}\n"
105
 
106
  return info
107