Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed module, added requirements.txt, moved main.py into app.py

  • Loading branch information...
commit ed81d01f9abe91bdc9083900ae3510ba90ab8191 1 parent 9d043aa
@ranman authored
View
0  __init__.py
No changes.
View
5 main.py → app.py
@@ -4,8 +4,9 @@
import yaml
from dropbox import session, client
-
-_config = yaml.safe_load(file('config.yaml'))
+import os
+path = os.path.dirname(os.path.realpath(__file__))+'/config.yaml'
+_config = yaml.safe_load(file(path))
app = Flask(__name__)
View
4 requirements.txt
@@ -2,10 +2,12 @@ Flask==0.9
Jinja2==2.6
PyYAML==3.10
Werkzeug==0.8.3
+argparse==1.2.1
+dropbox==1.5.1
foursquare==20120716
httplib2==0.7.7
poster==0.8.1
-pymongo==2.4.1
+pymongo==2.4.2
requests==0.14.2
requests-oauth==0.4.1
wsgiref==0.1.2

0 comments on commit ed81d01

Please sign in to comment.
Something went wrong with that request. Please try again.