Добавил фильтр пользователей по id для приватности бота #6

Closed
kls wants to merge 10 commits from kls/sd_telegram:master into beta
First-time contributor
No description provided.
kls added 8 commits 2024-02-10 15:23:16 +00:00
Owner

Надо тольео еще readme поправить

Надо тольео еще readme поправить
soaska added the
enhancement
label 2024-02-10 18:55:50 +00:00
soaska added 1 commit 2024-02-10 19:29:53 +00:00
soaska added 1 commit 2024-02-10 19:31:45 +00:00
Owner
Traceback (most recent call last):

  File "/bot/bot.py", line 64, in <module>

    ALLOWED_USERS = json.loads(os.getenv('ALLOWED_USERS'))

                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads

    return _default_decoder.decode(s)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode

    obj, end = self.raw_decode(s, idx=_w(s, 0).end())

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode

    raise JSONDecodeError("Expecting value", s, err.value) from None

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Ошибочка в загрузке?

```shell Traceback (most recent call last): File "/bot/bot.py", line 64, in <module> ALLOWED_USERS = json.loads(os.getenv('ALLOWED_USERS')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` Ошибочка в загрузке?
soaska closed this pull request 2024-02-10 19:34:30 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: soaska/sd_telegram#6
No description provided.