Skip to content

Commit

Permalink
Update moodle_alert_system.pyw
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfaaqrifath authored Mar 10, 2024
1 parent 5cf44fe commit 99ddc15
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions moodle_alert_system.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ import os
import time
import threading
import subprocess
import importlib

packages = ["telebot", "requests", "beautifulsoup4", "plyer"]

for pkg in packages:
if importlib.util.find_spec(pkg) is None:
subprocess.check_call(["pip", "install", pkg])
else:
pass

import telebot
import requests
from bs4 import BeautifulSoup
Expand Down Expand Up @@ -69,7 +59,6 @@ Process ID: {pid}''',
with open("mas_pid.txt", "w") as f:
f.write(f"Moodle Alert System process ID: {str(pid)}")
f.close()
#telegram_alert(f"PC process ID: {pid}")

###########################################################################

Expand Down

0 comments on commit 99ddc15

Please sign in to comment.