changes in rss items format

This commit is contained in:
Cyrille L 2023-03-17 18:45:29 +01:00
parent a968b13d27
commit 55bac503ce
2 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ def create_domain(target):
if not ask.isdigit(): logs.out("3", ask, True) if not ask.isdigit(): logs.out("3", ask, True)
domain_rssitems = ask domain_rssitems = ask
set_f = 'domain_rssitems = "%s"'%domain_rssitems set_f = 'domain_rssitems = %d'%domain_rssitems
tyto.set_file(db.domain_conf, False, set_f) tyto.set_file(db.domain_conf, False, set_f)

View File

@ -69,7 +69,7 @@ def create_feed():
rss_item = True rss_item = True
nbr_item += 1 nbr_item += 1
if nbr_item > int(db.domain_rssitems): break if nbr_item > db.domain_rssitems: break
set_f = \ set_f = \
'%s\n'%set_f + \ '%s\n'%set_f + \