X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/61c3753c6e0c567ccbb11115c787da22218ab5f6..c076154f1220c417c4cd17d178d5f94c5c88d83b:/apps/compress/versioning/mtime/__init__.py diff --git a/apps/compress/versioning/mtime/__init__.py b/apps/compress/versioning/mtime/__init__.py index 31b9d0b9..010aba9a 100644 --- a/apps/compress/versioning/mtime/__init__.py +++ b/apps/compress/versioning/mtime/__init__.py @@ -3,6 +3,7 @@ import os from compress.utils import get_output_filename, media_root from compress.versioning.base import VersioningBase + class MTimeVersioning(VersioningBase): def get_version(self, source_files): @@ -16,4 +17,3 @@ class MTimeVersioning(VersioningBase): compressed_file_full = media_root(output_file_name) return (int(os.stat(compressed_file_full).st_mtime) < int(version)), version -