fix tests

This commit is contained in:
mac12m99
2021-01-24 22:51:38 +01:00
parent d38b11667e
commit 2c84897674

View File

@@ -217,7 +217,8 @@ logger.record = False
from specials import news
dictNewsChannels, any_active = news.get_channels_list()
json.dump(channels, open(os.path.join(os.getcwd(), 'reports', 'result.json')))
os.mkdir(os.path.join(os.getcwd(), 'reports'))
json.dump(channels, open(os.path.join(os.getcwd(), 'reports', 'result.json'), 'w'))
# only 1 server item for single server
serverNames = []
serversFinal = []