Private GIT

Skip to content
Snippets Groups Projects
Commit 8ab84132 authored by miigotu's avatar miigotu
Browse files

Merge pull request #2432 from SiCKRAGETV/pp-error

Oops, i broke that.
parents 6bc4bd31 e6a7521e
Branches
Tags
No related merge requests found
......@@ -426,7 +426,7 @@ class GenericMetadata():
nfo_file = ek.ek(open, nfo_file_path, 'w')
nfo_file.write(data, encoding="utf-8")
data.write(nfo_file, encoding="utf-8")
nfo_file.close()
helpers.chmodAsParent(nfo_file_path)
except IOError, e:
......@@ -471,7 +471,7 @@ class GenericMetadata():
nfo_file = ek.ek(open, nfo_file_path, 'w')
nfo_file.write(data, encoding="utf-8")
data.write(nfo_file, encoding="utf-8")
nfo_file.close()
helpers.chmodAsParent(nfo_file_path)
except IOError, e:
......
......@@ -390,7 +390,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
nfo_file = ek.ek(open, nfo_file_path, 'w')
nfo_file.write(data, encoding="UTF-8")
data.write(nfo_file, encoding="UTF-8")
nfo_file.close()
helpers.chmodAsParent(nfo_file_path)
except IOError, e:
......@@ -435,7 +435,7 @@ class Mede8erMetadata(mediabrowser.MediaBrowserMetadata):
nfo_file = ek.ek(open, nfo_file_path, 'w')
nfo_file.write(data, encoding="UTF-8")
data.write(nfo_file, encoding="UTF-8")
nfo_file.close()
helpers.chmodAsParent(nfo_file_path)
except IOError, e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment