diff --git a/bin/submit_paste.py b/bin/submit_paste.py index 12ae14af..5efc6615 100755 --- a/bin/submit_paste.py +++ b/bin/submit_paste.py @@ -226,7 +226,7 @@ if __name__ == "__main__": #print(files.children) else: try: - files = unpack(file_full_path.encode(), password) + files = unpack(file_full_path.encode(), password=password.encode()) #print(files.children) except sflock.exception.IncorrectUsageException: abord_file_submission(uuid, "Wrong Password") diff --git a/var/www/modules/PasteSubmit/templates/PasteSubmit.html b/var/www/modules/PasteSubmit/templates/PasteSubmit.html index 3a463694..4ccdcf52 100644 --- a/var/www/modules/PasteSubmit/templates/PasteSubmit.html +++ b/var/www/modules/PasteSubmit/templates/PasteSubmit.html @@ -19,104 +19,104 @@ +
- {% include 'navbar.html' %} + {% include 'navbar.html' %} -