Skip to content

Commit 1a30082

Browse files
fix : minor bug fixed in mount_status function
1 parent 785b463 commit 1a30082

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

orangetool/orangetool_storage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ def mount_status(device_name, debug=False):
2727
memory_list.append(temp[1])
2828
if len(memory_list) == 0:
2929
return "u"
30-
else:
31-
return memory_list
30+
return memory_list
3231
except Exception as e:
3332
if debug:
3433
print(str(e))

0 commit comments

Comments
 (0)