Skip to content

Commit

Permalink
Forget change OSError to Exception, Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
NotStatilko committed Aug 25, 2019
1 parent 16afe0b commit 59672bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NonCipher/NonCipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def cipher(self,what,write_temp=False,run_in_processes=False,queue=None,cipher_p
else:
return total_string

except OSError as e:
except Exception as e:
raise NonCipherError('Error in NonCipher!', e,type(e))

if __name__ == '__main__':
Expand Down

0 comments on commit 59672bd

Please sign in to comment.