mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Flipped string slicing
This commit is contained in:
parent
9dc2db81e9
commit
1ff9a84da7
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def upload_local_cache():
|
|||
rel_path = os.path.relpath(os.path.join(root, filename), LOCAL_CACHE_DIR)
|
||||
|
||||
if RELEASE_CANDIDATE:
|
||||
rc_path = rel_path[rel_path.rfind('.'):] + f'_rc{RELEASE_CANDIDATE_VERSION}' + rel_path[:rel_path.rfind('.')]
|
||||
rc_path = rel_path[:rel_path.rfind('.')] + f'_rc{RELEASE_CANDIDATE_VERSION}' + rel_path[rel_path.rfind('.'):]
|
||||
os.rename(rel_path, rc_path)
|
||||
rel_path = rc_path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue