Permalink
Browse files

added logic to set new upload private field to privacy_default for lo…

…gged-in user
  • Loading branch information...
1 parent 0c59b0f commit d56808c23e7a630ba3efbb8485fc76db6ffd151f @Laukei Laukei committed May 31, 2016
Showing with 160 additions and 128 deletions.
  1. +22 −0 py35-reqs.txt
  2. +6 −0 runserver.py
  3. +131 −127 sdv/__init__.py
  4. +1 −1 sdv/zipuploads.py
View
@@ -0,0 +1,22 @@
+bcrypt (2.0.0)
+blinker (1.4)
+cffi (1.6.0)
+click (6.6)
+defusedxml (0.4.1)
+Flask (0.11)
+Flask-Bcrypt (0.7.1)
+Flask-Mail (0.9.1)
+Flask-ReCaptcha (0.4.2)
+google-measurement-protocol (0.1.6)
+imgurpython (1.1.7)
+itsdangerous (0.24)
+Jinja2 (2.8)
+MarkupSafe (0.23)
+Pillow (3.2.0)
+pip (8.1.2)
+psycopg2 (2.6.1)
+pycparser (2.14)
+requests (2.10.0)
+setuptools (18.2)
+six (1.10.0)
+Werkzeug (0.11.10)
View
@@ -4,5 +4,11 @@
import sys
sys.path.insert(0, './')
+# for some reason on Python 3.4 on Linux Mint, using runserver.py crashes on first reload if os.chdir() is used
+# so to avoid this (and break some of the site, but oh well...) remove os.chdir and add sdv to path
+# Weirdly, after first launch, subsequent reloads work if you go back to including os.chdir...
+# sys.path.insert(0, './sdv')
+#
+
from sdv import app
app.run(host="0.0.0.0")
Oops, something went wrong.

0 comments on commit d56808c

Please sign in to comment.