mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-29 02:17:36 +01:00
Introduce new flask based python backend
This supports most functionality. Tested the following functionality: * Create account * Delete account * Create a card * Download offline copy (couldn't log in) - needs work * Change passphrase * One time password creation and use
This commit is contained in:
18
scripts/builder/backends/flaskBuilder.py
Executable file
18
scripts/builder/backends/flaskBuilder.py
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
import os
|
||||
import shutil
|
||||
from scriptLanguageBuilder import ScriptLanguageBuilder
|
||||
|
||||
|
||||
class FlaskBuilder(ScriptLanguageBuilder):
|
||||
|
||||
def name(self):
|
||||
return "Flask builder"
|
||||
|
||||
def relativePath(self):
|
||||
return 'flask'
|
||||
|
||||
def createPackage(self):
|
||||
super(FlaskBuilder, self).createPackage()
|
||||
Reference in New Issue
Block a user