Skip to content

Commit

Permalink
Hide debut output
Browse files Browse the repository at this point in the history
  • Loading branch information
Markos Chandras committed Sep 26, 2010
1 parent 00a9c55 commit 92b0245
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion pysmssendmod/creditsleft.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def creditsleft(f,account,foobar,verbose):
print account+": Trying to find how much money left ...\n"
resp=foobar.open(acc_opensms[str(account)])
html=resp.read()
print html
balance=html.find("balanceid")
balanceline=html[balance:]
euros=balanceline.split(' ')
Expand Down
20 changes: 10 additions & 10 deletions pysmssendmod/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,16 @@ def mylogin(f,tray,verbose):
print "Getting login feedback from --> "+acc_page+"..."
# Find out the remaining credits for our account
error=0
#try:
leftcred=creditsleft(f,account,testfoo,verbose)
pass
pass
pass
error=0;
#except:
# errorlogin(f,account)
# tray.showlogin(account,0)
# error=1;
try:
leftcred=creditsleft(f,account,testfoo,verbose)
pass
pass
pass
error=0
except:
errorlogin(f,account)
tray.showlogin(account,0)
error=1
# Give feedback to user
if error==0:# pass only if everything was ok
f.ui.Result1.setText("Logged in to "+account+" ;-)")
Expand Down

0 comments on commit 92b0245

Please sign in to comment.