dfdfsdd
This commit is contained in:
14
pipeline.py
14
pipeline.py
@@ -575,7 +575,12 @@ def restore_previous_result_table() -> bool:
|
||||
_DISPLAY_ITEMS = []
|
||||
_DISPLAY_TABLE = None
|
||||
_DISPLAY_SUBJECT = None
|
||||
return True
|
||||
# If an underlying table exists, we're done.
|
||||
# Otherwise, fall through to history restore so @.. actually returns to the last table.
|
||||
if _LAST_RESULT_TABLE is not None:
|
||||
return True
|
||||
if not _RESULT_TABLE_HISTORY:
|
||||
return True
|
||||
|
||||
if not _RESULT_TABLE_HISTORY:
|
||||
return False
|
||||
@@ -613,7 +618,12 @@ def restore_next_result_table() -> bool:
|
||||
_DISPLAY_ITEMS = []
|
||||
_DISPLAY_TABLE = None
|
||||
_DISPLAY_SUBJECT = None
|
||||
return True
|
||||
# If an underlying table exists, we're done.
|
||||
# Otherwise, fall through to forward restore when available.
|
||||
if _LAST_RESULT_TABLE is not None:
|
||||
return True
|
||||
if not _RESULT_TABLE_FORWARD:
|
||||
return True
|
||||
|
||||
if not _RESULT_TABLE_FORWARD:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user