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()
|
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)
|
||||||
|
|
Loading…
Reference in a new issue