Changeset - 317c2d2e22da
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 12 years ago 2012-07-18 10:07:22
drewp@bigasterisk.com
SC channel sort
Ignore-this: e97aabaf8011f385a661a519bdb3dd84
2 files changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/subcomposer
Show inline comments
 
#!bin/python
 

	
 
from __future__ import division, nested_scopes
 
import sys,os,time,atexit
 
from optparse import OptionParser
 
import Tkinter as tk
 
import louie as dispatcher
light9/dmxchanedit.py
Show inline comments
 
@@ -134,6 +134,7 @@ class Levelbox(tk.Frame):
 
        self.levels = [] # Onelevel objects
 

	
 
        chans = list(self.graph.subjects(RDF.type, L9.Channel))
 
        chans.sort(key=lambda c: int(self.graph.value(c, L9.output).rsplit('/c')[-1]))
 
        cols = 2
 
        rows = len(chans) // cols
 

	
0 comments (0 inline, 0 general)