From 00e7cb53a435f286587aa7e791cf8c62db64482f Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Thu, 13 Dec 2018 19:09:07 -0600 Subject: [PATCH] removed comments --- sync_clip.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sync_clip.py b/sync_clip.py index d217381..feff1a4 100644 --- a/sync_clip.py +++ b/sync_clip.py @@ -11,13 +11,7 @@ def sync_clipboard(dev): t = time.time() text = pyperclip.paste() conn = dev.db_connect(db_file) - # text = re.sub(r'([\{\}])',lambda match: match.group(1) * 2,text) - # sql = 'INSERT INTO cliphistory values ({},\'{}\',0)'.format(int(1000*t),text) - # sql = '"{}"'.format(sql) - # print(sql) - # dev.sudo('sqlite3','-csv',db_file,sql) out = conn.execute("INSERT INTO cliphistory VALUES (?,?,?);",[int(1000*t),text,False]) - # print(list(out)) dev.shell('am', 'start', '-n', 'com.catchingnow.tinyclipboardmanager/.activity.ActivityMain') if __name__ == "__main__": import adb