mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
14 lines
325 B
Python
14 lines
325 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""Configure RSS-Bridge."""
|
|
|
|
import pathlib
|
|
|
|
from plinth.actions import privileged
|
|
|
|
|
|
@privileged
|
|
def setup():
|
|
"""Configure RSS-Bridge by enable all bridges."""
|
|
enable_list = pathlib.Path('/etc/rss-bridge/whitelist.txt')
|
|
enable_list.write_text('*\n', encoding='utf-8')
|