Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from HerringtonDarkholme/master
Browse files Browse the repository at this point in the history
fix sqlalchemy init
  • Loading branch information
lordfriend committed Jun 5, 2016
2 parents 6b24ac6 + 9354c98 commit 1f66fdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion domain/base.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
Base = declarative_base()
6 changes: 5 additions & 1 deletion tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
from domain.InviteCode import InviteCode
from domain.User import User
from werkzeug.security import generate_password_hash
from domain.Bangumi import Bangumi
from domain.Episode import Episode
from domain.TorrentFile import TorrentFile
from domain.User import User
from domain.base import Base

parser = argparse.ArgumentParser(description='Tools for management database')
Expand Down Expand Up @@ -63,4 +67,4 @@
print('table initialized')

else:
parser.print_help()
parser.print_help()

0 comments on commit 1f66fdf

Please sign in to comment.