forked from MarseyWorld/MarseyWorld
flush printed shit
parent
0620081497
commit
962cf66bcd
|
@ -509,14 +509,14 @@ if SITE == 'pcmemes.net' or True:
|
||||||
live.append((id, req.url, t.group(1), y.group(2), y.group(1), count))
|
live.append((id, req.url, t.group(1), y.group(2), y.group(1), count))
|
||||||
cache.set('live', live)
|
cache.set('live', live)
|
||||||
except:
|
except:
|
||||||
print(id)
|
print(id, flush=True)
|
||||||
else:
|
else:
|
||||||
y = offline_regex.search(txt)
|
y = offline_regex.search(txt)
|
||||||
try:
|
try:
|
||||||
offline.append((id, req.url.rstrip('/live'), y.group(2), y.group(1)))
|
offline.append((id, req.url.rstrip('/live'), y.group(2), y.group(1)))
|
||||||
cache.set('offline', offline)
|
cache.set('offline', offline)
|
||||||
except:
|
except:
|
||||||
print(id)
|
print(id, flush=True)
|
||||||
|
|
||||||
|
|
||||||
return render_template('live.html', v=v, live=live, offline=offline, msg="Channel added successfuly!")
|
return render_template('live.html', v=v, live=live, offline=offline, msg="Channel added successfuly!")
|
||||||
|
|
Loading…
Reference in New Issue