Created
December 9, 2014 18:26
-
-
Save relrod/e8211c0425cf95d22f07 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spins.fedoraproject.org/data/templates/master.html b/spins.fedoraproject.org/data/templates/master.html | |
index 105c92f..002ed72 100644 | |
--- a/spins.fedoraproject.org/data/templates/master.html | |
+++ b/spins.fedoraproject.org/data/templates/master.html | |
@@ -150,7 +150,7 @@ class Torrents(object): | |
return random.randint(0, len(list)-1) | |
torrents = Torrents() | |
-release = '20' | |
+release = '21' | |
def formatsize(n, format='%0.2f'): | |
# this is awful. | |
@@ -169,7 +169,7 @@ for t in torrents.torrents: | |
if 'Live-' in name: | |
name = name.split('Live-')[1] | |
- name = name.rsplit('-', 2)[0] | |
+ name = name.rsplit('-', 2)[0].replace('_', '-') | |
if name not in spins: | |
spins[name] = { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment