move some external scripts to python3 already

This commit is contained in:
gm10 2019-01-26 03:45:51 +01:00
parent 2902d26b43
commit 078e4dde02
No known key found for this signature in database
GPG Key ID: A981D4EA8CF993A9
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
import gettext
import os
@ -378,7 +378,7 @@ class mintMenuConfig(object):
return self.gdkRGBAToString(color)
def gdkRGBAToString(self, gdkRGBA):
return "#%.2X%.2X%.2X" % (gdkRGBA.red * 256, gdkRGBA.green * 256, gdkRGBA.blue * 256)
return "#%.2f%.2f%.2f" % (gdkRGBA.red * 256, gdkRGBA.green * 256, gdkRGBA.blue * 256)
def moveUp(self, upButton):

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
import sys

View File

@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
import gettext
import os