Minor typo fixes
This commit is contained in:
parent
1d67706b56
commit
21d435b560
@ -166,8 +166,8 @@ class Application(object):
|
|||||||
content = None
|
content = None
|
||||||
|
|
||||||
# Find calendar(s)
|
# Find calendar(s)
|
||||||
items = ical.Calendar.from_path(environ["PATH_INFO"],
|
items = ical.Calendar.from_path(
|
||||||
environ.get("HTTP_DEPTH", "0"))
|
environ["PATH_INFO"], environ.get("HTTP_DEPTH", "0"))
|
||||||
|
|
||||||
# Get function corresponding to method
|
# Get function corresponding to method
|
||||||
function = getattr(self, environ["REQUEST_METHOD"].lower())
|
function = getattr(self, environ["REQUEST_METHOD"].lower())
|
||||||
|
@ -210,7 +210,7 @@ class Calendar(object):
|
|||||||
if cls.is_vcalendar(os.path.join(abs_path, filename)):
|
if cls.is_vcalendar(os.path.join(abs_path, filename)):
|
||||||
result.append(cls(os.path.join(path, filename)))
|
result.append(cls(os.path.join(path, filename)))
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
# directory does not exist yet
|
# Directory does not exist yet
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
calendar = cls(path)
|
calendar = cls(path)
|
||||||
|
Loading…
Reference in New Issue
Block a user