Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-such-code committed Jul 19, 2021
1 parent 7cb5c16 commit 6890d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dropboxhandler/dropboxhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def generate_openbis_name(path):
barcode = extract_barcode(cleaned_name)
except ValueError:
logger.warn("No or more than one barcode in file: %s. Trying to find respective rule.", path)
return name
return cleaned_name
name = cleaned_name.replace(barcode, "")
if name.startswith('_'):
name = name[1:]
Expand Down

0 comments on commit 6890d59

Please sign in to comment.