aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown.py')
-rwxr-xr-xmarkdown.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/markdown.py b/markdown.py
index 6645b27..a835627 100755
--- a/markdown.py
+++ b/markdown.py
@@ -1951,7 +1951,7 @@ class Markdown:
return markdownTree
- def convert (self, source=None):
+ def convert (self, source):
"""
Create the document in XHTML format.
@@ -1962,10 +1962,7 @@ class Markdown:
Returns: A serialized XHTML body.
"""
-
- if source is not None: #Allow blank string
- self.source = source
-
+ self.source = source
if not self.source:
return u""