diff bin/bumppad @ 1859:f066d6e874db

2to3 with these fixers: all idioms set_literal Ignore-this: cbd28518218c2f0ddce8c4f92d3b8b33
author drewp@bigasterisk.com
date Wed, 22 May 2019 00:08:22 +0000
parents 7772cc48e016
children 5bcb950024af
line wrap: on
line diff
--- a/bin/bumppad	Tue May 21 23:56:12 2019 +0000
+++ b/bin/bumppad	Wed May 22 00:08:22 2019 +0000
@@ -1,7 +1,7 @@
 #!bin/python
-from __future__ import division, nested_scopes
+
 import sys, time, math
-import Tkinter as tk
+import tkinter as tk
 
 import run_local
 import light9.dmxclient as dmxclient
@@ -55,7 +55,7 @@
         self.master.after_idle(self.output)
 
     def output(self):
-        dmx = sub_maxes(*[s * l for s, l in self.levs.items()]).get_dmx_list()
+        dmx = sub_maxes(*[s * l for s, l in list(self.levs.items())]).get_dmx_list()
         dmxclient.outputlevels(dmx, clientid="bumppad")