[simple-scan/revert-02dca7df] Revert "Don't interrupt scanning if the device is busy."



commit 0f87cf1c74433a4792b71e1f7d1bd63da6d43e31
Author: Bartosz <gang65 poczta onet pl>
Date:   Fri Apr 24 14:23:46 2020 +0000

    Revert "Don't interrupt scanning if the device is busy."
    
    This reverts commit 02dca7df5d90851a50be23f006525397dc76c98c

 src/scanner.vala | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/scanner.vala b/src/scanner.vala
index 9474225..ffef562 100644
--- a/src/scanner.vala
+++ b/src/scanner.vala
@@ -1249,10 +1249,6 @@ public class Scanner : Object
         {
             /* If device is busy don't interrupt, but keep waiting for scanner */
         }
-        else if (status == Sane.Status.DEVICE_BUSY)
-        {
-            /* If device is busy don't interrupt, but keep waiting for scanner */
-        }
         else
         {
             warning ("Unable to start device: %s", Sane.strstatus (status));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]