Permalink
Browse files

Standardized error messages

  • Loading branch information...
1 parent 2d31b0b commit b557af96c20731b6fc9fdb93456360cb84d6180e @ppaez committed Feb 3, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 alsamidi.py
View
4 alsamidi.py
@@ -228,7 +228,7 @@ def read( self, path ):
try:
f = open( path )
except:
- print('Error reading file', path)
+ print('Error opening file', path)
print(sys.exc_info()[1])
return
@@ -263,7 +263,7 @@ def write( self, path ):
try:
f = open( path, 'w' )
except:
- print('Error saving file', path)
+ print('Error opening file', path)
print(sys.exc_info()[1])
return

0 comments on commit b557af9

Please sign in to comment.