Check whether our mirror packages are up to date.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"""Contains shared constants and functions"""
|
|
|
|
import requests
|
|
|
|
CSC_MIRROR = "http://mirror.csclub.uwaterloo.ca/"
|
|
|
|
def get_sec(timestamp_file_url):
|
|
"""Get seconds since the Epoch from timestamp file"""
|
|
sec_str = requests.get(timestamp_file_url).text
|
|
return int(sec_str)
|
|
|