changes in rss items format
This commit is contained in:
parent
a968b13d27
commit
55bac503ce
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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 + \
|
||||||
|
|
Loading…
Reference in New Issue