syntax_fix

This commit is contained in:
ahmed531998 2023-04-15 23:54:31 +02:00
parent 16a73b9d04
commit 63368fc9aa
1 changed files with 1 additions and 1 deletions

2
VRE.py
View File

@ -22,7 +22,7 @@ class VRE:
self.token = token
self.catalogue_url = 'https://api.d4science.org/catalogue/items/'
self.socialnetwork_url = 'https://api.d4science.org/rest/2/posts/get-posts-vre/'
self.headers = headers = {"gcube-token": self.token, "Accept": "application/json"}
self.headers = {"gcube-token": self.token, "Accept": "application/json"}
self.lastupdatetime = datetime.strptime('2021-01-01T00:00:00.000000', '%Y-%m-%dT%H:%M:%S.%f').timestamp()
self.postlastupdate = datetime.strptime('2021-01-01T00:00:00.000000', '%Y-%m-%dT%H:%M:%S.%f').timestamp()
self.retriever = retriever