Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
5231d5c2
Commit
5231d5c2
authored
Oct 09, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added if to take only 'ftp-stud'
parent
dabf31bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
uitwww/download.py
uitwww/download.py
+9
-7
No files found.
uitwww/download.py
View file @
5231d5c2
...
@@ -130,6 +130,8 @@ class Downloads:
...
@@ -130,6 +130,8 @@ class Downloads:
md5s
[
name
]
=
hash
md5s
[
name
]
=
hash
files_content
[
path
]
=
md5s
files_content
[
path
]
=
md5s
if
path
==
'http://ftp-stud.fht-esslingen.de/Mirrors/releases.ubuntu.com/focal'
:
# Add the MD5 to the result if it was found
# Add the MD5 to the result if it was found
if
file
in
files_content
[
path
]:
if
file
in
files_content
[
path
]:
key
=
"%s:%s:%s"
%
(
distro
,
release
,
arch
)
key
=
"%s:%s:%s"
%
(
distro
,
release
,
arch
)
...
...
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