Compare commits
No commits in common. "c398b0d3f4880fff064fcf39338b240db1499113" and "4f081c8d3440c43878e19f58a6179c62364fc4b0" have entirely different histories.
c398b0d3f4
...
4f081c8d34
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
from requests.exceptions import RequestException
|
from requests import HTTPError
|
||||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||||
from django.views.generic import TemplateView
|
from django.views.generic import TemplateView
|
||||||
from typing import Dict, Optional, Set
|
from typing import Dict, Optional, Set
|
||||||
|
@ -24,7 +24,7 @@ class Client:
|
||||||
try:
|
try:
|
||||||
apps = mf2(self.id).to_dict(filter_by_type="h-x-app")
|
apps = mf2(self.id).to_dict(filter_by_type="h-x-app")
|
||||||
self.app = apps[0]["properties"]
|
self.app = apps[0]["properties"]
|
||||||
except (RequestException, IndexError):
|
except (HTTPError, IndexError):
|
||||||
self.app = None
|
self.app = None
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lemoncurry",
|
"name": "lemoncurry",
|
||||||
"version": "1.12.4",
|
"version": "1.12.3",
|
||||||
"repository": "https://git.00dani.me/00dani/lemoncurry",
|
"repository": "https://git.00dani.me/00dani/lemoncurry",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "lemoncurry"
|
name = "lemoncurry"
|
||||||
version = "1.12.4"
|
version = "1.12.3"
|
||||||
description = "Indieweb-compatible personal website"
|
description = "Indieweb-compatible personal website"
|
||||||
authors = ["Danielle McLean <dani@00dani.me>"]
|
authors = ["Danielle McLean <dani@00dani.me>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
Loading…
Reference in a new issue