Skip to content

Commit

Permalink
moved want_gpg = False
Browse files Browse the repository at this point in the history
fix NameError: global name 'want_gpg' is not defined
  • Loading branch information
zakkak committed Jan 16, 2013
1 parent 7276243 commit 7e25a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysmssend
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ else:#importing gui modules
os.chmod(homedir+TEMPDIR+"accounts/", stat.S_IRUSR|stat.S_IWUSR|stat.S_IXUSR)
if verbose:
print "Done"
want_gpg = False
if not os.path.isfile(homedir+TEMPDIR+"config"):
cfile = open(homedir+TEMPDIR+"config","w")
cfile.write("# PYSMSSEND Configuration\n\n")
Expand All @@ -203,7 +204,6 @@ else:#importing gui modules
cfile.write("pysmssend_gpg_key=\n")
cfile.close()
else:
want_gpg = False
cfile = open(homedir+TEMPDIR+"config","r")
if verbose:
print "Reading "+homedir+TEMPDIR+"config"
Expand Down

0 comments on commit 7e25a3d

Please sign in to comment.