diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-28 13:22:41 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-28 13:22:41 -0700 |
commit | c5bd3231df17fda2130e3bd51188dbe34628321a (patch) | |
tree | 10adab8b356ec82308240379085483aff94e226e /python/run.py | |
parent | af542d66d884bd17daa6f40f3556aa4189b23b36 (diff) | |
download | fatcat-c5bd3231df17fda2130e3bd51188dbe34628321a.tar.gz fatcat-c5bd3231df17fda2130e3bd51188dbe34628321a.zip |
start refactoring pythong code
Diffstat (limited to 'python/run.py')
-rwxr-xr-x | python/run.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/run.py b/python/run.py index 0fbd6194..cfddad48 100755 --- a/python/run.py +++ b/python/run.py @@ -1,8 +1,7 @@ #!/usr/bin/env python3 import argparse -import fatcat.sql -from fatcat import app, db +from fatcat import app def main(): parser = argparse.ArgumentParser() @@ -14,7 +13,7 @@ def main(): help="listen on this host/IP") parser.add_argument('--port', type=int, - default=8040, + default=9810, help="listen on this port") parser.add_argument('--database-uri', default=app.config['SQLALCHEMY_DATABASE_URI'], |