prova push report sul sito

This commit is contained in:
mac12m99
2021-01-24 20:52:51 +01:00
parent 7ffb74c0e1
commit d38b11667e
2 changed files with 22 additions and 16 deletions

View File

@@ -7,6 +7,7 @@
# export KOD_TST_CH=channel
# python tests/test_generic.py
import html
import json
import os
import sys
import unittest
@@ -216,7 +217,7 @@ logger.record = False
from specials import news
dictNewsChannels, any_active = news.get_channels_list()
print(channels)
json.dump(channels, open(os.path.join(os.getcwd(), 'reports', 'result.json')))
# only 1 server item for single server
serverNames = []
serversFinal = []