Fixed bug with permissions not being applied due to octal formating

This commit is contained in:
Fabrice Quenneville 2020-12-21 22:10:19 -05:00
parent b3676aeb25
commit a14eb92c3d
3 changed files with 59 additions and 2 deletions

View File

@ -0,0 +1,57 @@
================================
MediaCurator 0.0.1 Release Notes
================================
Highlights
==========
Bugs fixes:
* Fixed bug with permissions not being applied correctly after conversion
Dropped Support
===============
Future Changes
==============
* More filters
* Test AV1 Support
* Prepare API for GUI
Compatibility notes
===================
Python Support
--------------
Mediacurator has been tested on Python 3.7 - 3.9
FFMPEG Support
--------------
Mediacurator has been tested to work with FFMPEG versions ranging from 4.1.6 to 4.3.1
OS Support
----------
Mediacurator has been tested to work on various GNU/Linux distribution as well as Windows
New Features
============
Improvements
============
Changes
=======
Deprecations
============

View File

@ -185,7 +185,7 @@ class Video():
self.filename_tmp = "" self.filename_tmp = ""
exit() exit()
else: else:
os.chmod(f"{self.path}{self.filename_tmp}", 777) os.chmod(f"{self.path}{self.filename_tmp}", 0o777)
self.filename_new = self.filename_tmp self.filename_new = self.filename_tmp
self.filename_tmp = "" self.filename_tmp = ""
return True return True

View File

@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup( setuptools.setup(
name="MediaCurator", name="MediaCurator",
version="0.0.3", version="0.0.4",
author="Fabrice Quenneville", author="Fabrice Quenneville",
author_email="fab@fabq.ca", author_email="fab@fabq.ca",
url="https://github.com/fabquenneville/MediaCurator", url="https://github.com/fabquenneville/MediaCurator",