Clear the clipboard before starting to watch for links.
This commit is contained in:
parent
bef8acc3c3
commit
72bf5698c8
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue