Skip to content

Commit

Permalink
added request to check manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ugomeguerditchian committed Mar 25, 2023
1 parent 6bde559 commit e3543f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import json
import sys
import time
import requests
logger = cl.logger

def clear_screen():
Expand All @@ -28,7 +29,7 @@ def check_update():
with open("manifest", "r") as f:
version = f.read()
url = f"https://raw.githubusercontent.com/ugomeguerditchian/OrgASM/main/manifest"
response = dns_request.get(url)
response = requests.get(url).text
if response == version:
logger.info("You are up to date")
else:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ argparse==1.4.0
pythonping==1.1.4
webtech==1.3.2
Jinja2==3.1.2
scapy==2.5.0
scapy==2.5.0
requests==2.28.1

0 comments on commit e3543f2

Please sign in to comment.