Loop
This commit is contained in:
parent
fafb64d57d
commit
e9bd522282
|
@ -1,4 +1,5 @@
|
||||||
import feedparser
|
import feedparser
|
||||||
|
import time
|
||||||
import requests
|
import requests
|
||||||
import secret_loader
|
import secret_loader
|
||||||
|
|
||||||
|
@ -48,8 +49,9 @@ def check_for_new_updates():
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
check_for_new_updates()
|
while True:
|
||||||
|
check_for_new_updates()
|
||||||
|
time.sleep(600)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user