diff options
-rwxr-xr-x | backend/magiback | 2 | ||||
-rwxr-xr-x | backend/raw_write.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/backend/magiback b/backend/magiback index e7fe881..4e86910 100755 --- a/backend/magiback +++ b/backend/magiback @@ -100,7 +100,7 @@ class Isodumper(raw_write.Dumper): def run(self): self.loop.run() -def check_permission(self, action,dbus_context): +def check_permission(action, dbus_context): """ Check permission """ return dbus_context.is_authorized(action, {'polkit.icon_name': 'isodumper.png',}, interactive=True) diff --git a/backend/raw_write.py b/backend/raw_write.py index 31d90dc..54b46d8 100755 --- a/backend/raw_write.py +++ b/backend/raw_write.py @@ -73,7 +73,6 @@ class Dumper(object): while ncuts <= 100: bs=int(bs/2) ncuts=int(b/bs) - print(ncuts,bs) for i in range(0,int(ncuts)+1): try: buf=ifc.read(bs) |