Skip to content

How to run a test server #4

Description

@yakirdayan

When I multiply the Main file and put alert link to perform "tests" I get the following error

Traceback (Most Recent Call Last):
File "C: \ User's \ User \ Desktop \ Python-Red-Mold-Master \ Src \ Main1.py", LINE 151, in
Main ()
File "C: \ Use \ User \ Desktop \ Python-Red-Hert-Master \ Src \ Main1.py", LINE 119, in Main
Red_alerts = Alert.get_red_Alerts ()
File "C: \ Use \ User \ Desktop \ Python-Rred-Bald-Master \ Src \ Main1.py", LINE 93, in Get_RED_ALRTS
Alerts = R.Content.decode ("UTF-8"). Replace ("\ n", "). Replace (" \ r ",")
Unicodedecodeperror: 'Utf-8

The format of the data I introduced in the JSON file is the data that appears in the Readme.D file.
You can explain why I get this error only when I replace the Home Front Command's link to the link with which I do "tests"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions