Skip to content

Commit

Permalink
Remove unused-argument 'conn'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossam Al-Dokkani committed Jul 21, 2018
1 parent ca6179e commit d99c11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def get_args():
return parser.parse_args()


def main(conn=False):
def main():
args = get_args()
connect(args.ip, args.port)
link = args.url
Expand Down Expand Up @@ -199,7 +199,7 @@ def main(conn=False):
if __name__ == '__main__':

try:
main(conn=True)
main()

except KeyboardInterrupt:
print("Interrupt received! Exiting cleanly...")

0 comments on commit d99c11c

Please sign in to comment.