master #33
@ -6,7 +6,7 @@
|
||||
"api_id": 0,
|
||||
"api_hash": "",
|
||||
"bot_token": "",
|
||||
"max_concurrent_transmissions": 3,
|
||||
"max_concurrent_transmissions": 1,
|
||||
"scoped_commands": true
|
||||
},
|
||||
"database": {
|
||||
|
@ -27,13 +27,14 @@ parser.add_argument("--create-album", action="store_true")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
unauthorized_client = Client(
|
||||
if args.create_user or args.create_album:
|
||||
unauthorized_client = Client(
|
||||
base_url=sync.config_get("address", "posting", "api"),
|
||||
timeout=5.0,
|
||||
verify_ssl=True,
|
||||
raise_on_unexpected_status=True,
|
||||
follow_redirects=False,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
async def cli_create_user() -> None:
|
||||
|
Reference in New Issue
Block a user