simonduerr commited on
Commit
ffdf6c9
·
1 Parent(s): 60aadf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def get_pdb(pdb_code="", filepath=""):
10
  try:
11
  #move file to home folder to have it accessible from the web
12
  copyfile(filepath.name, os.path.join(os.getcwd(), os.path.basename(filepath.name))
13
- return os.path.join(os.getcwd(), os.path.basename(filepath.name)
14
  except AttributeError as e:
15
  return None
16
  else:
 
10
  try:
11
  #move file to home folder to have it accessible from the web
12
  copyfile(filepath.name, os.path.join(os.getcwd(), os.path.basename(filepath.name))
13
+ return os.path.join(os.getcwd(), os.path.basename(filepath.name))
14
  except AttributeError as e:
15
  return None
16
  else: