Skip to content

Commit

Permalink
Update Main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Hashah2311 authored Apr 9, 2022
1 parent e1ba104 commit 019322d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@
import requests
import json
import os
token = "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"
headers = {f"Authorization" : "token {token}"}
#headers = {f"Authorization" : "token {token}"}
data = {"title": "JARVIS Error Reporting System Reported An Error"}
label = {"labels": ["Error"]}
body = {"body": [error]}
url = "https://api.github.com/repos/Hashah2311/JARVIS/issues"
requests.post(url,data=json.dumps(data,label,body),headers=headers)
#requests.post(url,data=json.dumps(data,label,body),headers=headers)
requests.post(url,data=json.dumps(data,label,body))
os.system("run.cmd")
#exit()
except:
Expand Down

0 comments on commit 019322d

Please sign in to comment.