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() h.close()
def loop_forever(extension, regex): def loop_forever(extension, regex):
pyperclip.copy('')
while True: while True:
loop_once(extension=extension, regex=regex) loop_once(extension=extension, regex=regex)
time.sleep(1) time.sleep(1)