Skip to content

Commit

Permalink
Allow empty TeXObjects (default to empty string)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidg committed Jan 29, 2012
1 parent 67b0404 commit bd3257e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytex/base/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TeXObject(object):
is equivalent to
TeXObject(foo).compile()
"""
def __init__(self, obj, raw=False):
def __init__(self, obj="", raw=False):
self.obj = obj
self.raw = raw
def compile(self):
Expand Down

0 comments on commit bd3257e

Please sign in to comment.