Permalink
Browse files

Prevent app from bombing out temporarily

  • Loading branch information...
1 parent 71e0c2c commit 4201574578fa51780e007f531d546e64d8295115 @jbillo jbillo committed Dec 4, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 app.py
View
4 app.py
@@ -144,6 +144,10 @@ def CombineSimilarlyNamedFolders(rootDir, dirsToCompare):
elif indexstr == 's':
print ('User chose to skip')
continue
+ elif not indexstr.isdigit():
+ # will throw an exception
+ print ('Unrecognized input; skipping')
+ continue
else:
# some
indices = indexstr.split(',')

0 comments on commit 4201574

Please sign in to comment.