diff options
author | 2022-07-09 07:54:06 +0530 | |
---|---|---|
committer | 2022-07-09 07:54:06 +0530 | |
commit | f38fa81c08795f3160fd1c0320840a5ec931304e (patch) | |
tree | d5f4ad786da3f410024f49cf1c69a91e11dd143b /src/Watcher/get_windows.py | |
parent | f0e484878af5b86b723de6af5f506f8b18e66ddc (diff) | |
download | shopno-os-log-sync-f38fa81c08795f3160fd1c0320840a5ec931304e.tar.gz shopno-os-log-sync-f38fa81c08795f3160fd1c0320840a5ec931304e.zip |
fixing typo | changing some time.sleep() values so that low CPU will consume
Diffstat (limited to 'src/Watcher/get_windows.py')
-rwxr-xr-x | src/Watcher/get_windows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Watcher/get_windows.py b/src/Watcher/get_windows.py index 393c7ff..f895662 100755 --- a/src/Watcher/get_windows.py +++ b/src/Watcher/get_windows.py @@ -44,7 +44,7 @@ def active_window(): # returns true if user has move to next app which is not the same as previous def is_window_changed(a): result = False - time.sleep(0.1) + time.sleep(0.5) b = active_window() if a != b : result = True |