Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit a05e57c

Browse files
committed
flake8
1 parent 093a5eb commit a05e57c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

club/views.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def handle_file_upload(file, folder_name, form_no, form_field_no):
177177
media = MediaFileUpload(os.path.join('tmp', file_name), mimetype=None)
178178
file.close()
179179

180-
#Creating folder
180+
# Creating folder
181181
# First for Club
182182

183183
check = 0
@@ -192,8 +192,7 @@ def handle_file_upload(file, folder_name, form_no, form_field_no):
192192
id_for_folder = file.get('id')
193193
break
194194

195-
196-
if(check == 0):
195+
if check == 0:
197196
file_metadata = {
198197
'name': str(folder_name),
199198
'parents': ['142JJ1d62qZc64qsf97M8W_KzuOIIvD9p'],
@@ -206,7 +205,6 @@ def handle_file_upload(file, folder_name, form_no, form_field_no):
206205

207206
print(id_for_folder)
208207

209-
210208
# Actual post : creating a new file of the uploaded type
211209
file_metadata = {
212210
'name': file_name,

0 commit comments

Comments
 (0)