fixed zip file
This commit is contained in:
@@ -29,6 +29,7 @@ from rowingdata import (
|
||||
from rowers.models import Team
|
||||
|
||||
import os
|
||||
import zipfile
|
||||
import pandas as pd
|
||||
import numpy as np
|
||||
import itertools
|
||||
@@ -573,7 +574,7 @@ def new_workout_from_file(r,f2,
|
||||
# from the NK zip file (issue #69 on bitbucket)
|
||||
f2 = z.extract(z.namelist()[0],path='media/')
|
||||
fileformat = fileformat[2]
|
||||
os.remove(f_to_be_deleted)
|
||||
os.remove(f_to_be_deleted)
|
||||
|
||||
# Some people try to upload Concept2 logbook summaries
|
||||
if fileformat == 'c2log':
|
||||
|
||||
Reference in New Issue
Block a user