smtp-source.py path fix

Change-Id: I76240a1b2dea4298d5913ee3e801f1d6a185db54
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ 2016-08-23 07:32:10 +02:00
parent 15aa501bc8
commit 627f2c59a6

View File

@ -17,9 +17,8 @@ check out http://blog.magiksys.net/generate-and-send-mail-with-python-tutorial
for a real professional solution
"""
eol = "\r\n"
dictionary = "dictionary.txt"
dictionary = '/'.join(__file__.split('/')[:-1]) + "/dictionary.txt"
checkpoint_for_newline = 300