aboutsummaryrefslogtreecommitdiffstats
path: root/python/run.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-28 13:22:41 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-28 13:22:41 -0700
commitc5bd3231df17fda2130e3bd51188dbe34628321a (patch)
tree10adab8b356ec82308240379085483aff94e226e /python/run.py
parentaf542d66d884bd17daa6f40f3556aa4189b23b36 (diff)
downloadfatcat-c5bd3231df17fda2130e3bd51188dbe34628321a.tar.gz
fatcat-c5bd3231df17fda2130e3bd51188dbe34628321a.zip
start refactoring pythong code
Diffstat (limited to 'python/run.py')
-rwxr-xr-xpython/run.py5
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'],