3 Commits

Author SHA1 Message Date
82467518da Merge branch 'master' of https://git.end-play.xyz/profitroll/TelegramPoster 2023-07-03 12:47:29 +02:00
c0085b8000 Merge branch 'dev' 2023-07-03 12:43:43 +02:00
e5b2584d4c Bug fixes and Pyrogram bump (#23)
Co-authored-by: Renovate <renovate@git.end-play.xyz>
Co-authored-by: profitroll <vozhd.kk@gmail.com>
Reviewed-on: #23
2023-05-16 15:45:23 +03:00
2 changed files with 8 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
"api_id": 0, "api_id": 0,
"api_hash": "", "api_hash": "",
"bot_token": "", "bot_token": "",
"max_concurrent_transmissions": 1, "max_concurrent_transmissions": 3,
"scoped_commands": true "scoped_commands": true
}, },
"database": { "database": {

View File

@@ -27,14 +27,13 @@ parser.add_argument("--create-album", action="store_true")
args = parser.parse_args() args = parser.parse_args()
if args.create_user or args.create_album: unauthorized_client = Client(
unauthorized_client = Client(
base_url=sync.config_get("address", "posting", "api"), base_url=sync.config_get("address", "posting", "api"),
timeout=5.0, timeout=5.0,
verify_ssl=True, verify_ssl=True,
raise_on_unexpected_status=True, raise_on_unexpected_status=True,
follow_redirects=False, follow_redirects=False,
) )
async def cli_create_user() -> None: async def cli_create_user() -> None: