Skip to content

Commit

Permalink
Fix isoFormat on None. (#10524)
Browse files Browse the repository at this point in the history
  • Loading branch information
p0psicles authored Apr 22, 2022
1 parent ebe1a20 commit a94ddce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion medusa/server/api/v2/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def resource_get_episode_backlog(self):
cur_ep_cat_string = Overview.overviewStrings[cur_ep_cat]
ep_cats[episode_string] = cur_ep_cat_string
ep_counts[cur_ep_cat_string] += 1
cur_result['airdate'] = air_date.isoformat('T')
cur_result['airdate'] = air_date.isoformat('T') if air_date else ''
cur_result['manuallySearched'] = cur_result['manually_searched']
del cur_result['manually_searched']
cur_result['statusString'] = statusStrings[cur_result['status']]
Expand Down

0 comments on commit a94ddce

Please sign in to comment.