File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -432,10 +432,6 @@ def gen_text_general_info(xml, r):
432432 if r : # If ReplaysAnalysis is avilable
433433 total_notes_string = util .abbreviate (r .total_notes , min_precision = 3 )
434434
435- chart , combo = find_longest_combo (xml )
436- long_combo_chart = f'"{ chart .get ("Pack" )} -> "{ chart .get ("Song" )} "'
437- long_combo_str = f"{ combo } on { long_combo_chart } "
438-
439435 chart = r .longest_mcombo [1 ]
440436 long_mcombo_chart = f'"{ chart .get ("Pack" )} -> "{ chart .get ("Song" )} "'
441437 long_mcombo_str = f"{ r .longest_mcombo [0 ]} on { long_mcombo_chart } "
@@ -448,6 +444,10 @@ def gen_text_general_info(xml, r):
448444 first_play_date = min ([parsedate (s .findtext ("DateTime" )) for s in scores ])
449445 duration = relativedelta (datetime .now (), first_play_date )
450446
447+ chart , combo = find_longest_combo (xml )
448+ long_combo_chart = f'"{ chart .get ("Pack" )} -> "{ chart .get ("Song" )} "'
449+ long_combo_str = f"{ combo } on { long_combo_chart } "
450+
451451 return "<br>" .join ([
452452 f"You started playing { duration .years } years { duration .months } months ago" ,
453453 f"Total hours spent playing: { round (hours )} hours" ,
You can’t perform that action at this time.
0 commit comments