Browse files

Fix file opening in python bindings.

This corrects an issue introduced in 8fe3824 where the alternate input
to ftopen() was not accepted as the regular expression match would error
instead of simply failing.
  • Loading branch information...
wagnerrp authored and jyavenard committed Feb 28, 2013
1 parent 4e93cf0 commit 3b98a7fca4f083527b25da0a46bdfc37e489fcf9
Showing with 6 additions and 1 deletion.
  1. +6 −1 mythtv/bindings/python/MythTV/
@@ -228,7 +228,12 @@ def ftopen(file, mode, forceremote=False, nooverwrite=False, db=None, \
FileTransfer(host, file, storagegroup, mode, db)
# process URI (myth://<group>@<host>[:<port>]/<path/to/file>)
match = reuri.match(file)
match = None
match = reuri.match(file)
if match:
host ='host')
filename ='file')

0 comments on commit 3b98a7f

Please sign in to comment.