mimizukari commited on
Commit
e950f46
·
verified ·
1 Parent(s): 56afd67

cleaned code

Browse files
Files changed (1) hide show
  1. randumbizer.py +2 -2
randumbizer.py CHANGED
@@ -23,9 +23,9 @@ def read_random_lines(artist_file="artist.txt", sheet_file="Sheet1.txt"):
23
  post_artists = ", ".join(splits[insertion_index:])
24
 
25
  if post_artists:
26
- result = f"{pre_artists}, {artist_section}, {post_artists}".strip()
27
  else:
28
- result = f"{pre_artists}, {artist_section}".strip()
29
 
30
  result = result.rstrip(", ")
31
 
 
23
  post_artists = ", ".join(splits[insertion_index:])
24
 
25
  if post_artists:
26
+ result = f"{pre_artists}, {artist_section}, {post_artists}"
27
  else:
28
+ result = f"{pre_artists}, {artist_section}"
29
 
30
  result = result.rstrip(", ")
31