def run(result, abc): from copy_to_clipboard import copy_to_clipboard from post_notification import post_notification if result: copy_to_clipboard(result) post_notification("Copied GIF URL.")
def run(text): from copy_to_clipboard import copy_to_clipboard if text != None: copy_to_clipboard(text.strip())