Clear the clipboard before starting to watch for links.

This commit is contained in:
voussoir 2020-12-15 13:09:03 -08:00
parent bef8acc3c3
commit 72bf5698c8

View file

@ -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)