Clarify readme
This commit is contained in:
@@ -84,7 +84,7 @@ class Config:
|
||||
'combo_pause': '',
|
||||
'combo_engine_switch': '',
|
||||
'screen_capture_area': '',
|
||||
'screen_capture_delay_secs': -1,
|
||||
'screen_capture_delay_secs': 0,
|
||||
'screen_capture_only_active_windows': True,
|
||||
'screen_capture_frame_stabilization': -1,
|
||||
'screen_capture_combo': '',
|
||||
|
||||
@@ -1271,6 +1271,8 @@ def run():
|
||||
global periodic_screenshot_queue
|
||||
periodic_screenshot_queue = queue.Queue()
|
||||
screen_capture_periodic = True
|
||||
if not (screen_capture_on_combo or screen_capture_periodic):
|
||||
raise ValueError('screen_capture_delay_secs or screen_capture_combo need to be valid values')
|
||||
screenshot_event = threading.Event()
|
||||
screenshot_thread = ScreenshotThread()
|
||||
screenshot_thread.start()
|
||||
|
||||
Reference in New Issue
Block a user