Split fedora and manjaro playbooks
Split playbooks to better accomodate development of both.
This commit is contained in:
20
tools/framework_fingerprint/clear_storage.py
Normal file
20
tools/framework_fingerprint/clear_storage.py
Normal file
@@ -0,0 +1,20 @@
|
||||
#! /usr/bin/python3
|
||||
|
||||
import gi
|
||||
gi.require_version('FPrint', '2.0')
|
||||
from gi.repository import FPrint
|
||||
|
||||
ctx = FPrint.Context()
|
||||
|
||||
for dev in ctx.get_devices():
|
||||
print(dev)
|
||||
print(dev.get_driver())
|
||||
print(dev.props.device_id);
|
||||
|
||||
dev.open_sync()
|
||||
|
||||
dev.clear_storage_sync()
|
||||
print("All prints deleted.")
|
||||
|
||||
dev.close_sync()
|
||||
|
||||
Reference in New Issue
Block a user