mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-25 08:19:41 +02:00
code quality
This commit is contained in:
parent
40492fac00
commit
73512e9562
2 changed files with 3 additions and 5 deletions
|
@ -311,7 +311,7 @@ def mount_device():
|
|||
if partition.device == device.device_node:
|
||||
found = True
|
||||
loop += 1
|
||||
if loop < 10:
|
||||
if found:
|
||||
return partition.mountpoint
|
||||
else:
|
||||
log('No partition mounted')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue