Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanli
evm-store
Commits
b3f5973d
Commit
b3f5973d
authored
Mar 25, 2021
by
wanliofficial
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复后端一处BUG
parent
620aa030
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
backend/controller/apps_manager.py
backend/controller/apps_manager.py
+4
-1
No files found.
backend/controller/apps_manager.py
View file @
b3f5973d
...
@@ -145,7 +145,10 @@ class AppsManager(object):
...
@@ -145,7 +145,10 @@ class AppsManager(object):
app_files
=
[]
app_files
=
[]
for
sf
in
source_files
:
for
sf
in
source_files
:
target_file
=
sf
.
path
if
not
os
.
path
.
exists
(
sf
.
path
):
target_file
=
os
.
sep
.
join
([
config
.
get
(
"UPLOAD_PATH"
),
sf
.
path
])
target_file
=
os
.
sep
.
join
([
config
.
get
(
"UPLOAD_PATH"
),
sf
.
path
])
filename
=
os
.
path
.
basename
(
target_file
)
filename
=
os
.
path
.
basename
(
target_file
)
name
,
suffix
=
os
.
path
.
splitext
(
filename
)
name
,
suffix
=
os
.
path
.
splitext
(
filename
)
name
=
re
.
sub
(
r"_\d{14}$"
,
""
,
name
)
name
=
re
.
sub
(
r"_\d{14}$"
,
""
,
name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment