Skip to content

Commit 2a31eb8

Browse files
committed
Fixed flake8 issues
1 parent 7e8efa9 commit 2a31eb8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

filemanager/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def handle_form(self, form, files):
9494
return messages
9595

9696
# actual handling of action
97-
messages = Action.handle_action(action, path, name, is_directory, files, self.current_path, self.config)
97+
messages = Action.handle_action(action, path, name, is_directory, files,
98+
self.current_path, self.config)
9899

99100
return messages
100101

filemanager/actions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ def validate_file(self, f):
117117
self.config['FILEMANAGER_CHECK_SPACE'] and
118118
((get_size(self.config['basepath']) + f.size) > self.config['maxspace'] * 1024)
119119
):
120-
self.messages.append("Total Space size exceeded " + str(self.config['maxspace']) + " KB : " + f.name)
120+
self.messages.append("Total Space size exceeded " + str(self.config['maxspace']) +
121+
" KB : " + f.name)
121122
elif (
122123
self.config['extensions']
123124
and len(f.name.split('.')) > 1

0 commit comments

Comments
 (0)