[DEV] correct bugs

This commit is contained in:
Edouard DUPIN 2020-01-29 22:04:10 +01:00
parent ab2bf398a2
commit d1caff5cbd

View File

@ -58,7 +58,7 @@ def generate_name(_value):
episode_id = int(episode_id) episode_id = int(episode_id)
if episode_id < 10: if episode_id < 10:
out += "e00" + str(episode_id) + "-" out += "e00" + str(episode_id) + "-"
elif _value["episode"] < 100: elif episode_id < 100:
out += "e0" + str(episode_id) + "-" out += "e0" + str(episode_id) + "-"
else: else:
out += "e" + str(episode_id) + "-" out += "e" + str(episode_id) + "-"