clipboard: Return empty string if error

Instead of returning None, which becomes NULL in cython and gets
sent through binder to become null in java
This commit is contained in:
Alessandro Astone
2022-11-29 00:03:42 +01:00
parent a11d894d8c
commit cd0a81cf28

View File

@@ -25,6 +25,7 @@ def start(args):
return pyclip.paste()
except Exception as e:
logging.debug(str(e))
return ""
def service_thread():
while not stopping: