Browse Source

small bugfix from refactoring

current_wdka_release
crunk 3 years ago
parent
commit
990d7decca
  1. 2
      verse/templates/help.html
  2. 2
      verse/uploadpage.py
  3. 1
      verse/usermodel.py

2
verse/templates/help.html

@ -50,8 +50,6 @@ index pages based on folders in the files system. For distrubisverse this means
that you can upload a zip file <em>(".zip file extension")</em> with content and have
distrubsi turn it into a webpage for you. Making a zip file is very easy for all
desktop operating systems (Windows, Mac OS and Linux)</p>
<h4>Windows 10</h4>
<h4>Mac OS</h4>
<hr>
<h3>2. Media files become visible</h3>
<p>Whenever Distribusi discovers media files in your zipfile it turns them

2
verse/uploadpage.py

@ -24,7 +24,7 @@ def UploadPage(uploadfolder):
selectorvisible = SelectorVisible()
current_distribusi = UserHelper.current_distribusi()
if current_distribusi == "new" or HasDistribusi() is False:
if current_distribusi == "new" or UserHelper.has_distribusi() is False:
uploadform = UploadNewDistribusi(uploadfolder)
else:
uploadform = UploadUpdatedFiles(uploadfolder)

1
verse/usermodel.py

@ -14,6 +14,7 @@ class User(UserMixin, db.Model):
currentdistribusi = db.Column(db.String(300), nullable=True, unique=False)
resethash = db.Column(db.String(300), nullable=True, unique=True)
resettime = db.Column(db.DateTime)
#active = db.Column(db.Boolean, default=False)
tutor = db.Column(db.Boolean, default=False)
admin = db.Column(db.Boolean, default=False)

Loading…
Cancel
Save