uniborg/stdborg.py

21 lines
493 B
Python
Raw Normal View History

2018-04-07 20:30:30 +00:00
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
2018-04-07 20:20:16 +00:00
import logging
from uniborg import Uniborg
2018-12-26 21:28:41 +00:00
import api_key
2018-04-07 20:20:16 +00:00
logging.basicConfig(level=logging.INFO)
2018-12-26 21:28:41 +00:00
borg = Uniborg(
"stdborg",
plugin_path="stdplugins",
connection_retries=None,
api_id=api_key.id,
api_hash=api_key.hash
)
2018-04-07 20:20:16 +00:00
2018-06-21 15:57:06 +00:00
borg.run_until_disconnected()