forked from upstream/IPod-Shuffle-4g
Check if path exists
This commit is contained in:
parent
c16855cef6
commit
2dbdc0f09b
1 changed files with 4 additions and 0 deletions
|
|
@ -555,6 +555,10 @@ if __name__ == '__main__':
|
|||
parser.add_argument('path')
|
||||
result = parser.parse_args()
|
||||
|
||||
if not os.path.isdir(result.path):
|
||||
print "Error finding IPod directory. Maybe it is not connected or mounted?"
|
||||
sys.exit()
|
||||
|
||||
if result.rename_unicode:
|
||||
check_unicode(result.path)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue