forked from PeterSurda/inoreader2readwise
app: minor fixes
This commit is contained in:
parent
84a1ed15f5
commit
97c3354de8
|
@ -39,7 +39,7 @@ def home():
|
|||
last_synced = datetime.fromtimestamp(token.get('timestamp')).strftime('%Y-%m-%d %H:%M:%S')
|
||||
next_sync = datetime.fromtimestamp(token.get('timestamp') + token.get('expiration_seconds')).strftime('%Y-%m-%d %H:%M:%S')
|
||||
return render_template('home.html', user_info=user_info,
|
||||
readwise_api_key=token.get('readwise_api_key'),
|
||||
readwise_api_key=token.get('readwise_api_key', ''),
|
||||
last_synced=last_synced, next_sync=next_sync)
|
||||
|
||||
# Generate a CSRF protection string
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<!-- show last synced and next synced time -->
|
||||
<p>Last Synced: {{ last_synced }}</p>
|
||||
<p>Next Synced: {{ next_synced }}</p>
|
||||
<p>Next Sync: {{ next_sync }}</p>
|
||||
<br>
|
||||
|
||||
<!-- Take readiwse api key input -->
|
||||
|
|
Loading…
Reference in New Issue
Block a user