Small fixes

This commit is contained in:
Grant Sanderson 2020-02-27 17:17:53 +00:00
parent 40b651d661
commit 6e0ae83685

View file

@ -430,7 +430,7 @@ class Bubble(SVGMobject):
raise Exception("Must invoke Bubble subclass")
try:
SVGMobject.__init__(self, **kwargs)
except IOError as err:
except IOError:
self.file_name = os.path.join(FILE_DIR, self.file_name)
SVGMobject.__init__(self, **kwargs)
self.center()
@ -440,6 +440,7 @@ class Bubble(SVGMobject):
self.flip()
self.direction_was_specified = ("direction" in kwargs)
self.content = Mobject()
self.refresh_triangulation()
def get_tip(self):
# TODO, find a better way