enabled Discord upload again

This commit is contained in:
2022-04-14 15:13:42 +02:00
parent 7ecc07780d
commit ff8daba8ff

View File

@@ -206,7 +206,7 @@ with open('output_TMCZ_'+ext_date_from_filaname, 'w') as f:
f.close()
sys.exit()
with open('output_TMCZ_'+ext_date_from_filaname, "rb") as f:
webhook.add_file(file=f.read(), filename='output_TMCZ_'+ext_date_from_filaname)