diff --git a/projects/debiancd.py b/projects/debiancd.py index 43e8dd6..ce0910b 100644 --- a/projects/debiancd.py +++ b/projects/debiancd.py @@ -27,9 +27,9 @@ class DebianCD(Project): if upstream == CSC: return True + # Date Format Example: Sun 27 Mar 00:20:12 UTC 2022 date_format = "%a %d %b %H:%M:%S UTC %Y\n" - # Sun 27 Mar 00:20:12 UTC 2022 CSC_date = datetime.strptime(CSC, date_format) CSC_utc_time = time.mktime(CSC_date.timetuple()) diff --git a/projects/raspberrypi.py b/projects/raspberrypi.py index 05caf7c..574221c 100644 --- a/projects/raspberrypi.py +++ b/projects/raspberrypi.py @@ -23,7 +23,7 @@ class raspberrypi(Project): for i in s.find_all("a"): # for a href directories href = i.attrs['href'] - # The raspberry pi server doesn't use a relative path tp the parent directory + # The raspberry pi server doesn't use a relative path to the parent directory if href.endswith("/") and href != "../" and href != "/" and href != "/debian/": site_next = site+href+"Release"