[TASK] Reformat some files.
This commit is contained in:
parent
bc2ebea8de
commit
0952922757
|
@ -138,6 +138,7 @@ class UpdateProjectView(ProtectedFormView, SingleObjectMixin):
|
||||||
""" Test if SQLite is a valid citavi project. """
|
""" Test if SQLite is a valid citavi project. """
|
||||||
from service import Citavi
|
from service import Citavi
|
||||||
citavi_project = Citavi.Project(temp_sqlite)
|
citavi_project = Citavi.Project(temp_sqlite)
|
||||||
|
citavi_project.open()
|
||||||
citavi_project_valid = citavi_project.is_valid()
|
citavi_project_valid = citavi_project.is_valid()
|
||||||
""" Free temporary ressources. """
|
""" Free temporary ressources. """
|
||||||
del citavi_project
|
del citavi_project
|
||||||
|
@ -164,6 +165,7 @@ class UpdateProjectView(ProtectedFormView, SingleObjectMixin):
|
||||||
""" Refresh identities from citavi project. """
|
""" Refresh identities from citavi project. """
|
||||||
# TODO
|
# TODO
|
||||||
# citavi_project = Citavi.Project(sqlite_path)
|
# citavi_project = Citavi.Project(sqlite_path)
|
||||||
|
# citavi_project.open()
|
||||||
# del citavi_project
|
# del citavi_project
|
||||||
return super(UpdateProjectView, self).form_valid(form)
|
return super(UpdateProjectView, self).form_valid(form)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue