flush printed shit

master
Aevann1 2022-09-25 05:17:15 +02:00
parent 0620081497
commit 962cf66bcd
1 changed files with 2 additions and 2 deletions

View File

@ -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!")