Fix issue with option ansi/xterm256=False not correctly turning off colors. Change the NOMARKUP session option flag to NOCOLOR to better reflect its function.

This commit is contained in:
Griatch 2017-01-26 21:08:27 +01:00
parent b6a4997a97
commit 4699b38b31
8 changed files with 24 additions and 22 deletions

View file

@ -289,6 +289,7 @@ class PortalSessionHandler(SessionHandler):
# save protocols
for sessid in to_save:
self[sessid].load_sync_data(serversessions[sessid])
print ("portalsessionhandler synced:", self[sessid].protocol_flags)
if clean:
# disconnect out-of-sync missing protocols
to_delete = [sessid for sessid in self if sessid not in to_save]