Skip to content

Commit

Permalink
remove make_timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
n00rsy committed Apr 26, 2023
1 parent 9b2ac4d commit c4fcfa9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pybossa/view/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
from pybossa.core import user_repo, ldap
from pybossa.feed import get_update_feed
from pybossa.messages import *
from pybossa.model import make_timestamp

from pybossa.forms.forms import UserPrefMetadataForm, RegisterFormWithUserPrefMetadata
from pybossa.forms.account_view_forms import *
Expand Down Expand Up @@ -1155,11 +1156,6 @@ def add_metadata(name):
return redirect(url_for('account.profile', name=name))


def make_timestamp():
now = datetime.now()
return now.isoformat()


def _get_bookmarks(user_name, short_name):
taskbrowse_bookmarks = cached_users.get_taskbrowse_bookmarks(user_name)
proj_bookmarks = taskbrowse_bookmarks.get(short_name, {})
Expand Down

0 comments on commit c4fcfa9

Please sign in to comment.