From f7d9ee62efee1054356f55eca55155aa290ef1d9 Mon Sep 17 00:00:00 2001 From: meyt Date: Sun, 15 Oct 2017 09:33:00 +0330 Subject: [PATCH] PEP8 Fix --- sqlalchemy_media/stores/filesystem.py | 2 +- sqlalchemy_media/tests/test_ssh_store.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sqlalchemy_media/stores/filesystem.py b/sqlalchemy_media/stores/filesystem.py index 2e24368..3d4c392 100644 --- a/sqlalchemy_media/stores/filesystem.py +++ b/sqlalchemy_media/stores/filesystem.py @@ -46,4 +46,4 @@ def open(self, filename: str, mode: str='rb') -> FileLike: return open(self._get_physical_path(filename), mode=mode) def locate(self, attachment) -> str: - return '%s/%s' % (self.base_url, attachment.path) \ No newline at end of file + return '%s/%s' % (self.base_url, attachment.path) diff --git a/sqlalchemy_media/tests/test_ssh_store.py b/sqlalchemy_media/tests/test_ssh_store.py index 1720807..cf4dc1d 100644 --- a/sqlalchemy_media/tests/test_ssh_store.py +++ b/sqlalchemy_media/tests/test_ssh_store.py @@ -1,5 +1,4 @@ -import time import unittest import io import shutil @@ -67,4 +66,4 @@ def test_open(self): if __name__ == '__main__': # pragma: no cover - unittest.main() \ No newline at end of file + unittest.main()