sigh
parent
e312887f45
commit
d565696117
|
@ -73,7 +73,7 @@ def get_data():
|
|||
data = {'generated_at': datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
|
||||
'site_name': 'tilde.town',
|
||||
'site_url': 'http://tilde.town',
|
||||
'uptime': str(uptime('-p')),}
|
||||
'uptime': str(uptime('-p')).rstrip(),}
|
||||
|
||||
data.update(user_data)
|
||||
return data
|
||||
|
|
|
@ -6,6 +6,7 @@ def slurp(file_path):
|
|||
except FileNotFoundError:
|
||||
pass
|
||||
except UnicodeDecodeError:
|
||||
pass
|
||||
return contents
|
||||
|
||||
def thread(initial, *fns):
|
||||
|
|
Reference in New Issue