Skip to content

Commit

Permalink
Renamed get_db() class Database() to comply with PEP.
Browse files Browse the repository at this point in the history
  • Loading branch information
hover2pi committed Mar 4, 2016
1 parent 505210b commit 1ac3598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrodbkit/astrodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def create_database(dbpath):
print "\nDatabase created! To load, run\n\ndb = astrodb.get_db('{}')\n\nThen run db.modify_table() method to create tables.".format(dbpath)
else: print "Please provide a path and file name with a .db file extension, e.g. /Users/<username>/Desktop/test.db"

class get_db:
class Database:
def __init__(self, dbpath):
"""
Initialize the database.
Expand Down

0 comments on commit 1ac3598

Please sign in to comment.