Commits

Bastian Blank committed 7864568

Reverse lock usage

  • Participants
  • Parent commits 495eba2

Comments (0)

Files changed (2)

File bepasty/config.py

 
 class Config(object):
     # Upload specific config
-    UPLOAD_LOCKED = True
+    UPLOAD_UNLOCKED = False
 
     # Storage specific config
     STORAGE = None

File bepasty/views/upload.py

 
         item.meta['complete'] = False
 
-        item.meta['locked'] = current_app.config['UPLOAD_LOCKED']
+        item.meta['unlocked'] = current_app.config['UPLOAD_UNLOCKED']
 
     @classmethod
     def meta_complete(cls, item):