Skip to content

Commit

Permalink
Merge pull request #114 from DedSecInside/bug_fixes
Browse files Browse the repository at this point in the history
Updated Req.txt
  • Loading branch information
PSNAppz authored Aug 15, 2018
2 parents 5ca2d21 + d2c0aef commit 2d863a6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ tests/.ropeproject/
*.pyc
.pytestc*
.pytest_cache
__pycache*
__pycache__/

# Misc
torBot
Expand Down
1 change: 1 addition & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## FAQ
Binary file removed __pycache__/settings.cpython-36.pyc
Binary file not shown.
3 changes: 1 addition & 2 deletions modules/savedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def saveToDatabase(database, user, password, links):
cur = db.cursor()

except Exception as e:
print "Error '{0}' occurred. Arguments {1}.".format(e.message, e.args):
print("Error '{0}' occurred. Arguments {1}.".format(e.message, e.args))

try:
query = """ CREATE TABLE IF NOT EXISTS `tor_url` (
Expand All @@ -48,4 +48,3 @@ def saveToDatabase(database, user, password, links):
finally:
cur.close()
db.close()

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ requests==2.18.4
requests_mock==1.4.0
tldextract==2.2.0
yattag==1.10.0
python-dotenv==0.9.1

0 comments on commit 2d863a6

Please sign in to comment.