Skip to content

Commit

Permalink
Exit if no claws mail config found
Browse files Browse the repository at this point in the history
  • Loading branch information
alxchk committed Aug 19, 2016
1 parent 73b3ad0 commit 2427e03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Linux/src/softwares/mails/clawsmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def run(self):
path = self.get_path()
if not path:
print_debug('INFO', 'ClawsMail not installed.')
return

mode = DES.MODE_CFB
if 'FreeBSD' in platform.system():
Expand Down Expand Up @@ -89,4 +90,4 @@ def accountrc_decrypt(self, filename, key, mode=DES.MODE_CFB):
if len(values) != 0:
pwdFound.append(values)

return pwdFound
return pwdFound

0 comments on commit 2427e03

Please sign in to comment.