Commit f71af983 authored by shadMod's avatar shadMod 💬

replaced get_all_files_counter() with news_max()

parent 240d302d
......@@ -81,7 +81,7 @@ def prepare_blueprint(app):
def list_news():
nw_cl = GetNews(os.path.join(app.instance_path, "news"))
_list_news = nw_cl.get_all_files_counter(4)
_list_news = nw_cl.news_max(4)
return _list_news
def list_distro():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment