Skip to content

Commit

Permalink
dsf
Browse files Browse the repository at this point in the history
  • Loading branch information
swissme8888 committed May 2, 2017
1 parent 208fd5e commit 84fb792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def upload_file():
file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
with open(os.path.join(UPLOAD_FOLDER, filename), 'r') as myfile:
data=myfile.read().replace("\n", "").replace("/", "").replace(",", "").replace("(", "").replace(")", "").replace("-", "").replace("\"", "").replace("'", "")
filedata1= data.split('.')
filedata1= str(data).split('.')
#print(filedata1)
#file 2
if twofile.filename == '':
Expand All @@ -60,7 +60,7 @@ def upload_file():
twofile.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
with open(os.path.join(UPLOAD_FOLDER, filename), 'r') as myfile:
twodata=myfile.read().replace("\n", "").replace("/", "").replace(",", "").replace("(", "").replace(")", "").replace("-", "").replace("\"", "").replace("'", "")
filedata2= twodata.split('.')
filedata2= str(twodata).split('.')
#print(filedata2)

#return redirect(url_for('uploaded_file',filename=filename))
Expand Down

0 comments on commit 84fb792

Please # to comment.