mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 07:07:58 +00:00
Update animation.py to handle wierd newlines
This commit is contained in:
@@ -169,7 +169,7 @@ class Animation(object):
|
||||
self.set_state("Bad animation delay from config 'ANIMATION' section", log_error=True)
|
||||
return
|
||||
try:
|
||||
animation_file = open(self.filepath)
|
||||
animation_file = open(self.filepath, 'rU')
|
||||
except IOError:
|
||||
self.set_state("File {} can't be opened".format(self.filepath), log_error=True)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user