diff --git a/watchforlinks.py b/watchforlinks.py index a3fa062..2f0af3c 100644 --- a/watchforlinks.py +++ b/watchforlinks.py @@ -32,6 +32,7 @@ def loop_once(extension, regex=None): h.close() def loop_forever(extension, regex): + pyperclip.copy('') while True: loop_once(extension=extension, regex=regex) time.sleep(1)