From 856ccb1d5ec22a810d2a1b4f2fe7dbf22b345725 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Sun, 21 Jan 2024 15:50:39 +0100 Subject: [PATCH] Swap python/python2 envs to python3 --- generate-icons.py | 2 +- generate_svg.py | 2 +- scc/__init__.py | 2 +- scc/actions.py | 2 +- scc/aliases.py | 2 +- scc/cemuhook_server.py | 2 +- scc/cheader.py | 2 +- scc/config.py | 2 +- scc/constants.py | 2 +- scc/controller.py | 2 +- scc/custom.py | 2 +- scc/device_monitor.py | 2 +- scc/drivers/__init__.py | 2 +- scc/drivers/ds4drv.py | 2 +- scc/drivers/ds5drv.py | 2 +- scc/drivers/fake.py | 2 +- scc/drivers/remotepad.py | 2 +- scc/drivers/sc_by_bt.py | 2 +- scc/drivers/sc_by_cable.py | 2 +- scc/drivers/steamdeck.py | 2 +- scc/foreign/__init__.py | 2 +- scc/foreign/vdf.py | 2 +- scc/foreign/vdffz.py | 2 +- scc/gestures.py | 2 +- scc/gui/__init__.py | 2 +- scc/gui/aboutdialog.py | 2 +- scc/gui/action_editor.py | 2 +- scc/gui/ae/__init__.py | 2 +- scc/gui/ae/axis.py | 2 +- scc/gui/ae/axis_action.py | 2 +- scc/gui/ae/buttons.py | 2 +- scc/gui/ae/custom.py | 2 +- scc/gui/ae/dpad.py | 2 +- scc/gui/ae/first_page.py | 2 +- scc/gui/ae/gesture.py | 2 +- scc/gui/ae/gyro.py | 2 +- scc/gui/ae/gyro_action.py | 2 +- scc/gui/ae/menu_action.py | 2 +- scc/gui/ae/menu_only.py | 2 +- scc/gui/ae/osk_action.py | 2 +- scc/gui/ae/osk_buttons.py | 2 +- scc/gui/ae/per_axis.py | 2 +- scc/gui/ae/recent_list.py | 2 +- scc/gui/ae/special_action.py | 2 +- scc/gui/ae/tilt.py | 2 +- scc/gui/ae/trigger.py | 2 +- scc/gui/app.py | 2 +- scc/gui/area_to_action.py | 2 +- scc/gui/binding_editor.py | 2 +- scc/gui/chooser.py | 2 +- scc/gui/controller_image.py | 2 +- scc/gui/controller_settings.py | 2 +- scc/gui/controller_widget.py | 2 +- scc/gui/creg/__init__.py | 2 +- scc/gui/creg/constants.py | 2 +- scc/gui/creg/data.py | 2 +- scc/gui/creg/dialog.py | 2 +- scc/gui/creg/grabs.py | 2 +- scc/gui/creg/tester.py | 2 +- scc/gui/daemon_manager.py | 2 +- scc/gui/editor.py | 2 +- scc/gui/gdk_to_key.py | 2 +- scc/gui/gestures.py | 2 +- scc/gui/global_settings.py | 2 +- scc/gui/icon_chooser.py | 2 +- scc/gui/importexport/__init__.py | 2 +- scc/gui/importexport/dialog.py | 2 +- scc/gui/importexport/export.py | 2 +- scc/gui/importexport/import_sccprofile.py | 2 +- scc/gui/importexport/import_vdf.py | 2 +- scc/gui/key_grabber.py | 2 +- scc/gui/keycode_to_key.py | 2 +- scc/gui/macro_editor.py | 2 +- scc/gui/menu_editor.py | 2 +- scc/gui/modeshift_editor.py | 2 +- scc/gui/osd_mode.py | 2 +- scc/gui/osk_binding_editor.py | 2 +- scc/gui/profile_switcher.py | 2 +- scc/gui/ribar.py | 2 +- scc/gui/ring_editor.py | 2 +- scc/gui/simple_chooser.py | 2 +- scc/gui/statusicon.py | 2 +- scc/gui/svg_widget.py | 2 +- scc/gui/userdata_manager.py | 2 +- scc/lib/__init__.py | 2 +- scc/lib/daemon.py | 2 +- scc/lib/eudevmonitor.py | 2 +- scc/lib/xinput.py | 2 +- scc/lib/xwrappers.py | 2 +- scc/macros.py | 2 +- scc/mapper.py | 2 +- scc/menu_data.py | 2 +- scc/modifiers.py | 2 +- scc/osd/__init__.py | 2 +- scc/osd/area.py | 2 +- scc/osd/binding_display.py | 2 +- scc/osd/dialog.py | 2 +- scc/osd/gesture_display.py | 2 +- scc/osd/grid_menu.py | 2 +- scc/osd/hmenu.py | 2 +- scc/osd/inputdisplay.py | 2 +- scc/osd/keyboard.py | 2 +- scc/osd/launcher.py | 2 +- scc/osd/menu.py | 2 +- scc/osd/menu_generators.py | 2 +- scc/osd/message.py | 2 +- scc/osd/osk_actions.py | 2 +- scc/osd/quick_menu.py | 2 +- scc/osd/radial_menu.py | 2 +- scc/osd/slave_mapper.py | 2 +- scc/osd/timermanager.py | 2 +- scc/paths.py | 2 +- scc/poller.py | 2 +- scc/profile.py | 2 +- scc/sccdaemon.py | 2 +- scc/scheduler.py | 2 +- scc/scripts.py | 2 +- scc/special_actions.py | 2 +- scc/tools.py | 2 +- scc/uinput.py | 2 +- scc/x11/__init__.py | 2 +- scc/x11/autoswitcher.py | 2 +- scc/x11/scc-autoswitch-daemon.py | 2 +- scc/x11/scc-osd-daemon.py | 2 +- scc/x11/scc_autoswitch_daemon.py | 2 +- update-wiki.py | 2 +- 126 files changed, 126 insertions(+), 126 deletions(-) diff --git a/generate-icons.py b/generate-icons.py index 03e1349d0..e75ea68d9 100755 --- a/generate-icons.py +++ b/generate-icons.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # Used to generate some icons # Requires inkscape and imagemagick pacages diff --git a/generate_svg.py b/generate_svg.py index 4b24422e7..b9aef84c0 100755 --- a/generate_svg.py +++ b/generate_svg.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from scc.tools import _ from scc.actions import Action, DPadAction, XYAction, MouseAction diff --git a/scc/__init__.py b/scc/__init__.py index 446990e05..3e7a9aee6 100644 --- a/scc/__init__.py +++ b/scc/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller Copyright (C) 2018 Kozec diff --git a/scc/actions.py b/scc/actions.py index d08df6dca..02b31319e 100644 --- a/scc/actions.py +++ b/scc/actions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Actions diff --git a/scc/aliases.py b/scc/aliases.py index 5e5544c83..5c73baeea 100644 --- a/scc/aliases.py +++ b/scc/aliases.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Aliases diff --git a/scc/cemuhook_server.py b/scc/cemuhook_server.py index 0f906202c..19724f86f 100644 --- a/scc/cemuhook_server.py +++ b/scc/cemuhook_server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Daemon - CemuHookUDP motion provider diff --git a/scc/cheader.py b/scc/cheader.py index cccf2863c..d151d6371 100644 --- a/scc/cheader.py +++ b/scc/cheader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # The MIT License (MIT) # diff --git a/scc/config.py b/scc/config.py index 99c53f9f3..37a2df01c 100644 --- a/scc/config.py +++ b/scc/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Config diff --git a/scc/constants.py b/scc/constants.py index 8738b34a6..1f5fb043c 100644 --- a/scc/constants.py +++ b/scc/constants.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # The MIT License (MIT) # diff --git a/scc/controller.py b/scc/controller.py index 11db8a789..474c977e4 100644 --- a/scc/controller.py +++ b/scc/controller.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from scc.constants import HapticPos import time import logging diff --git a/scc/custom.py b/scc/custom.py index efe28d158..a13cbf0af 100644 --- a/scc/custom.py +++ b/scc/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Custom module loader diff --git a/scc/device_monitor.py b/scc/device_monitor.py index 67c86d6aa..e15be1cc0 100644 --- a/scc/device_monitor.py +++ b/scc/device_monitor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Device Monitor diff --git a/scc/drivers/__init__.py b/scc/drivers/__init__.py index 8c327f912..cb01b3479 100644 --- a/scc/drivers/__init__.py +++ b/scc/drivers/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller goes through all modules in scc.drivers package and calls init(daemon) methods from every module that defines it. diff --git a/scc/drivers/ds4drv.py b/scc/drivers/ds4drv.py index 549c3d446..ffdb7e168 100644 --- a/scc/drivers/ds4drv.py +++ b/scc/drivers/ds4drv.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Dualshock 4 Driver diff --git a/scc/drivers/ds5drv.py b/scc/drivers/ds5drv.py index 6fcdc35cf..34f842f91 100644 --- a/scc/drivers/ds5drv.py +++ b/scc/drivers/ds5drv.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - DualSense driver diff --git a/scc/drivers/fake.py b/scc/drivers/fake.py index df4fee496..dcb9d66e9 100644 --- a/scc/drivers/fake.py +++ b/scc/drivers/fake.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Fake controller driver diff --git a/scc/drivers/remotepad.py b/scc/drivers/remotepad.py index bba29429e..f88cd4b7b 100644 --- a/scc/drivers/remotepad.py +++ b/scc/drivers/remotepad.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - remotepad driver diff --git a/scc/drivers/sc_by_bt.py b/scc/drivers/sc_by_bt.py index 21144cb93..c4ae00c02 100644 --- a/scc/drivers/sc_by_bt.py +++ b/scc/drivers/sc_by_bt.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Steam Controller Driver diff --git a/scc/drivers/sc_by_cable.py b/scc/drivers/sc_by_cable.py index 383a90611..b914ee239 100644 --- a/scc/drivers/sc_by_cable.py +++ b/scc/drivers/sc_by_cable.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Steam Controller Driver diff --git a/scc/drivers/steamdeck.py b/scc/drivers/steamdeck.py index 604da3987..1cd8ef1fa 100644 --- a/scc/drivers/steamdeck.py +++ b/scc/drivers/steamdeck.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SCC - Steam Deck Driver diff --git a/scc/foreign/__init__.py b/scc/foreign/__init__.py index bc202b134..108a4e7d9 100644 --- a/scc/foreign/__init__.py +++ b/scc/foreign/__init__.py @@ -1,3 +1,3 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 pass \ No newline at end of file diff --git a/scc/foreign/vdf.py b/scc/foreign/vdf.py index 89e18aaa8..89fc99eea 100644 --- a/scc/foreign/vdf.py +++ b/scc/foreign/vdf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ Imports VDF profile and converts it to Profile object. """ diff --git a/scc/foreign/vdffz.py b/scc/foreign/vdffz.py index fb50743e1..dd028629f 100644 --- a/scc/foreign/vdffz.py +++ b/scc/foreign/vdffz.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ Imports VDFFZ profile and converts it to Profile object. VDFFZ is just VDF encapsulated in json, so this just gets one value and calls diff --git a/scc/gestures.py b/scc/gestures.py index 44d3a0d95..877ad9e57 100644 --- a/scc/gestures.py +++ b/scc/gestures.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Gestures diff --git a/scc/gui/__init__.py b/scc/gui/__init__.py index 9ffb34af2..e19fc2f85 100644 --- a/scc/gui/__init__.py +++ b/scc/gui/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from scc.constants import SCButtons BUTTON_ORDER = ( diff --git a/scc/gui/aboutdialog.py b/scc/gui/aboutdialog.py index f2a4fe2e5..778a6dd72 100644 --- a/scc/gui/aboutdialog.py +++ b/scc/gui/aboutdialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - About dialog """ diff --git a/scc/gui/action_editor.py b/scc/gui/action_editor.py index 50ca086b6..d926220f1 100644 --- a/scc/gui/action_editor.py +++ b/scc/gui/action_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/ae/__init__.py b/scc/gui/ae/__init__.py index af9127812..2c8c63557 100644 --- a/scc/gui/ae/__init__.py +++ b/scc/gui/ae/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ ae - Action Editor components """ from __future__ import unicode_literals from scc.tools import _ diff --git a/scc/gui/ae/axis.py b/scc/gui/ae/axis.py index ae987508e..0981bc76d 100644 --- a/scc/gui/ae/axis.py +++ b/scc/gui/ae/axis.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Axis Component diff --git a/scc/gui/ae/axis_action.py b/scc/gui/ae/axis_action.py index 09d608811..2d06b13aa 100644 --- a/scc/gui/ae/axis_action.py +++ b/scc/gui/ae/axis_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Axis Component diff --git a/scc/gui/ae/buttons.py b/scc/gui/ae/buttons.py index 8a04c8566..40c756665 100644 --- a/scc/gui/ae/buttons.py +++ b/scc/gui/ae/buttons.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Button Component diff --git a/scc/gui/ae/custom.py b/scc/gui/ae/custom.py index 081a94fb1..600c5ba91 100644 --- a/scc/gui/ae/custom.py +++ b/scc/gui/ae/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Custom action diff --git a/scc/gui/ae/dpad.py b/scc/gui/ae/dpad.py index 5f9a8cd85..b1c99bef5 100644 --- a/scc/gui/ae/dpad.py +++ b/scc/gui/ae/dpad.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ SC-Controller - Action Editor - "DPAD or Menu" diff --git a/scc/gui/ae/first_page.py b/scc/gui/ae/first_page.py index f22827d06..84b7d2fc2 100644 --- a/scc/gui/ae/first_page.py +++ b/scc/gui/ae/first_page.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ SC-Controller - Action Editor - First Page diff --git a/scc/gui/ae/gesture.py b/scc/gui/ae/gesture.py index 2de4661ab..707124075 100644 --- a/scc/gui/ae/gesture.py +++ b/scc/gui/ae/gesture.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # coding=utf-8 """ SC-Controller - Action Editor - Gesture Component diff --git a/scc/gui/ae/gyro.py b/scc/gui/ae/gyro.py index 53cd3ecc2..909d55ba2 100644 --- a/scc/gui/ae/gyro.py +++ b/scc/gui/ae/gyro.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Gyro -> Per Axis component """ diff --git a/scc/gui/ae/gyro_action.py b/scc/gui/ae/gyro_action.py index 67852b94b..dcbdf2f44 100644 --- a/scc/gui/ae/gyro_action.py +++ b/scc/gui/ae/gyro_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Gyro -> Joystick or Mouse component """ diff --git a/scc/gui/ae/menu_action.py b/scc/gui/ae/menu_action.py index 6a2280c63..495588d5a 100644 --- a/scc/gui/ae/menu_action.py +++ b/scc/gui/ae/menu_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - common part of "DPAD or menu" and "Special Action", two components with MenuAction selectable. diff --git a/scc/gui/ae/menu_only.py b/scc/gui/ae/menu_only.py index 7a36c78eb..b5ed75fc5 100644 --- a/scc/gui/ae/menu_only.py +++ b/scc/gui/ae/menu_only.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Menu Only Component diff --git a/scc/gui/ae/osk_action.py b/scc/gui/ae/osk_action.py index ec0024eb2..a2da754a1 100644 --- a/scc/gui/ae/osk_action.py +++ b/scc/gui/ae/osk_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - On Screen Keyboard Action Component diff --git a/scc/gui/ae/osk_buttons.py b/scc/gui/ae/osk_buttons.py index 652d11193..45fd071ed 100644 --- a/scc/gui/ae/osk_buttons.py +++ b/scc/gui/ae/osk_buttons.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - OSK Button Component diff --git a/scc/gui/ae/per_axis.py b/scc/gui/ae/per_axis.py index 2bdfe1276..2f09cdb58 100644 --- a/scc/gui/ae/per_axis.py +++ b/scc/gui/ae/per_axis.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Per-Axis Component diff --git a/scc/gui/ae/recent_list.py b/scc/gui/ae/recent_list.py index 610e5a458..bb2aad5b1 100644 --- a/scc/gui/ae/recent_list.py +++ b/scc/gui/ae/recent_list.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Recent List Component diff --git a/scc/gui/ae/special_action.py b/scc/gui/ae/special_action.py index 9c052aa9d..0ace15ba2 100644 --- a/scc/gui/ae/special_action.py +++ b/scc/gui/ae/special_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Axis Component diff --git a/scc/gui/ae/tilt.py b/scc/gui/ae/tilt.py index a3e64383f..d4748c675 100644 --- a/scc/gui/ae/tilt.py +++ b/scc/gui/ae/tilt.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Tilt diff --git a/scc/gui/ae/trigger.py b/scc/gui/ae/trigger.py index ae3d42b98..eba4cdb0d 100644 --- a/scc/gui/ae/trigger.py +++ b/scc/gui/ae/trigger.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor - Trigger-as-button Component diff --git a/scc/gui/app.py b/scc/gui/app.py index 99b70b995..a7a5efa91 100644 --- a/scc/gui/app.py +++ b/scc/gui/app.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - App diff --git a/scc/gui/area_to_action.py b/scc/gui/area_to_action.py index 846399a9a..9cd511de3 100644 --- a/scc/gui/area_to_action.py +++ b/scc/gui/area_to_action.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - AREA_TO_ACTION diff --git a/scc/gui/binding_editor.py b/scc/gui/binding_editor.py index c0de2042b..4ceaaaeab 100644 --- a/scc/gui/binding_editor.py +++ b/scc/gui/binding_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - BindingEditor diff --git a/scc/gui/chooser.py b/scc/gui/chooser.py index ced3932a3..96c01a22f 100644 --- a/scc/gui/chooser.py +++ b/scc/gui/chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/controller_image.py b/scc/gui/controller_image.py index 346d8651d..2ffbf758b 100644 --- a/scc/gui/controller_image.py +++ b/scc/gui/controller_image.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Image diff --git a/scc/gui/controller_settings.py b/scc/gui/controller_settings.py index 3013e246a..102c94d29 100644 --- a/scc/gui/controller_settings.py +++ b/scc/gui/controller_settings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Global Settings diff --git a/scc/gui/controller_widget.py b/scc/gui/controller_widget.py index c7dac152e..9bdf86d12 100644 --- a/scc/gui/controller_widget.py +++ b/scc/gui/controller_widget.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Widget diff --git a/scc/gui/creg/__init__.py b/scc/gui/creg/__init__.py index 18ff53637..e5a0d9b48 100644 --- a/scc/gui/creg/__init__.py +++ b/scc/gui/creg/__init__.py @@ -1 +1 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 diff --git a/scc/gui/creg/constants.py b/scc/gui/creg/constants.py index 0f1cd3c86..22acf4e4e 100644 --- a/scc/gui/creg/constants.py +++ b/scc/gui/creg/constants.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Registration Constants diff --git a/scc/gui/creg/data.py b/scc/gui/creg/data.py index 895411b03..d6e21d523 100644 --- a/scc/gui/creg/data.py +++ b/scc/gui/creg/data.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Registration data diff --git a/scc/gui/creg/dialog.py b/scc/gui/creg/dialog.py index 77a94deac..b8b33236e 100644 --- a/scc/gui/creg/dialog.py +++ b/scc/gui/creg/dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Registration diff --git a/scc/gui/creg/grabs.py b/scc/gui/creg/grabs.py index 0f2c684a0..977489c03 100644 --- a/scc/gui/creg/grabs.py +++ b/scc/gui/creg/grabs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Registration - Grabs diff --git a/scc/gui/creg/tester.py b/scc/gui/creg/tester.py index e63f28645..3b265d7c7 100644 --- a/scc/gui/creg/tester.py +++ b/scc/gui/creg/tester.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Controller Registration - Tester diff --git a/scc/gui/daemon_manager.py b/scc/gui/daemon_manager.py index d68c67c6a..9e1655dae 100644 --- a/scc/gui/daemon_manager.py +++ b/scc/gui/daemon_manager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - DaemonManager diff --git a/scc/gui/editor.py b/scc/gui/editor.py index e0db9ea95..2f4fb3687 100644 --- a/scc/gui/editor.py +++ b/scc/gui/editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/gdk_to_key.py b/scc/gui/gdk_to_key.py index d2dfc43ea..08b66faf1 100644 --- a/scc/gui/gdk_to_key.py +++ b/scc/gui/gdk_to_key.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - GDK_TO_KEY diff --git a/scc/gui/gestures.py b/scc/gui/gestures.py index 2c65b142d..c17537aef 100644 --- a/scc/gui/gestures.py +++ b/scc/gui/gestures.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Gesture-related GUI stuff. """ diff --git a/scc/gui/global_settings.py b/scc/gui/global_settings.py index c5e5926ef..8eea263ae 100644 --- a/scc/gui/global_settings.py +++ b/scc/gui/global_settings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Global Settings diff --git a/scc/gui/icon_chooser.py b/scc/gui/icon_chooser.py index 4602c1647..0ed3240ab 100644 --- a/scc/gui/icon_chooser.py +++ b/scc/gui/icon_chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Icon Chooser """ diff --git a/scc/gui/importexport/__init__.py b/scc/gui/importexport/__init__.py index 18ff53637..e5a0d9b48 100644 --- a/scc/gui/importexport/__init__.py +++ b/scc/gui/importexport/__init__.py @@ -1 +1 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 diff --git a/scc/gui/importexport/dialog.py b/scc/gui/importexport/dialog.py index 99eaba68e..396e414c4 100644 --- a/scc/gui/importexport/dialog.py +++ b/scc/gui/importexport/dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Import / Export Dialog """ diff --git a/scc/gui/importexport/export.py b/scc/gui/importexport/export.py index 7a9754db1..bfc666c34 100644 --- a/scc/gui/importexport/export.py +++ b/scc/gui/importexport/export.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from __future__ import unicode_literals from scc.tools import _ diff --git a/scc/gui/importexport/import_sccprofile.py b/scc/gui/importexport/import_sccprofile.py index 78f21db67..eb0186413 100644 --- a/scc/gui/importexport/import_sccprofile.py +++ b/scc/gui/importexport/import_sccprofile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from __future__ import unicode_literals from scc.tools import _ diff --git a/scc/gui/importexport/import_vdf.py b/scc/gui/importexport/import_vdf.py index d06463607..c262f03d8 100644 --- a/scc/gui/importexport/import_vdf.py +++ b/scc/gui/importexport/import_vdf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Global Settings diff --git a/scc/gui/key_grabber.py b/scc/gui/key_grabber.py index b223dc9a9..3a84dd86c 100644 --- a/scc/gui/key_grabber.py +++ b/scc/gui/key_grabber.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/keycode_to_key.py b/scc/gui/keycode_to_key.py index 80e844d49..cf7ae8c5b 100644 --- a/scc/gui/keycode_to_key.py +++ b/scc/gui/keycode_to_key.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - KEYCODE_TO_KEY diff --git a/scc/gui/macro_editor.py b/scc/gui/macro_editor.py index a384abd56..c4f0fc796 100644 --- a/scc/gui/macro_editor.py +++ b/scc/gui/macro_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/menu_editor.py b/scc/gui/menu_editor.py index 13eae9984..891b742a0 100644 --- a/scc/gui/menu_editor.py +++ b/scc/gui/menu_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Menu Editor diff --git a/scc/gui/modeshift_editor.py b/scc/gui/modeshift_editor.py index 29aa9ebdf..ee03aa483 100644 --- a/scc/gui/modeshift_editor.py +++ b/scc/gui/modeshift_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/osd_mode.py b/scc/gui/osd_mode.py index 53db83b36..5fd2c5b62 100644 --- a/scc/gui/osd_mode.py +++ b/scc/gui/osd_mode.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Mode Mapper diff --git a/scc/gui/osk_binding_editor.py b/scc/gui/osk_binding_editor.py index d2313b814..40d9f7915 100644 --- a/scc/gui/osk_binding_editor.py +++ b/scc/gui/osk_binding_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - On Screen Keyboard Binding Editor diff --git a/scc/gui/profile_switcher.py b/scc/gui/profile_switcher.py index 208878512..024101d31 100644 --- a/scc/gui/profile_switcher.py +++ b/scc/gui/profile_switcher.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - ProfileSwitcher diff --git a/scc/gui/ribar.py b/scc/gui/ribar.py index fb085aa20..658402604 100644 --- a/scc/gui/ribar.py +++ b/scc/gui/ribar.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - RIBar diff --git a/scc/gui/ring_editor.py b/scc/gui/ring_editor.py index 13debb7c7..6aa72e1a3 100644 --- a/scc/gui/ring_editor.py +++ b/scc/gui/ring_editor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Action Editor diff --git a/scc/gui/simple_chooser.py b/scc/gui/simple_chooser.py index 1665e2b61..1cf8d776f 100644 --- a/scc/gui/simple_chooser.py +++ b/scc/gui/simple_chooser.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Simple Chooser diff --git a/scc/gui/statusicon.py b/scc/gui/statusicon.py index 836004927..f52572708 100644 --- a/scc/gui/statusicon.py +++ b/scc/gui/statusicon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Syncthing-GTK - StatusIcon diff --git a/scc/gui/svg_widget.py b/scc/gui/svg_widget.py index c60266e49..7f89b0f75 100644 --- a/scc/gui/svg_widget.py +++ b/scc/gui/svg_widget.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Background diff --git a/scc/gui/userdata_manager.py b/scc/gui/userdata_manager.py index f358c5a62..fbe120164 100644 --- a/scc/gui/userdata_manager.py +++ b/scc/gui/userdata_manager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Profile Manager diff --git a/scc/lib/__init__.py b/scc/lib/__init__.py index 0fe3141a5..2c472feaf 100644 --- a/scc/lib/__init__.py +++ b/scc/lib/__init__.py @@ -1,3 +1,3 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from .enum import Enum, IntEnum, unique diff --git a/scc/lib/daemon.py b/scc/lib/daemon.py index f4154b0d0..12ad03e74 100644 --- a/scc/lib/daemon.py +++ b/scc/lib/daemon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """Generic linux daemon base class""" diff --git a/scc/lib/eudevmonitor.py b/scc/lib/eudevmonitor.py index 07c6c255d..77a89fa71 100644 --- a/scc/lib/eudevmonitor.py +++ b/scc/lib/eudevmonitor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ udevmonitor.py - enumerates and monitors devices using (e)udev diff --git a/scc/lib/xinput.py b/scc/lib/xinput.py index 78ccfdf12..89d4881c6 100644 --- a/scc/lib/xinput.py +++ b/scc/lib/xinput.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ XInput tools diff --git a/scc/lib/xwrappers.py b/scc/lib/xwrappers.py index e3fb696ec..80c5f0937 100644 --- a/scc/lib/xwrappers.py +++ b/scc/lib/xwrappers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ Python wrapper for some X-related stuff. diff --git a/scc/macros.py b/scc/macros.py index 42e3e93bc..dc407f29c 100644 --- a/scc/macros.py +++ b/scc/macros.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Macros diff --git a/scc/mapper.py b/scc/mapper.py index dccb9815f..8c89196f0 100644 --- a/scc/mapper.py +++ b/scc/mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 from __future__ import unicode_literals from collections import deque diff --git a/scc/menu_data.py b/scc/menu_data.py index 56d9716da..16dd58d32 100644 --- a/scc/menu_data.py +++ b/scc/menu_data.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Menu Data diff --git a/scc/modifiers.py b/scc/modifiers.py index faeb00f4a..57dd45646 100644 --- a/scc/modifiers.py +++ b/scc/modifiers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Modifiers diff --git a/scc/osd/__init__.py b/scc/osd/__init__.py index 85ae748ef..4f7310421 100644 --- a/scc/osd/__init__.py +++ b/scc/osd/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD diff --git a/scc/osd/area.py b/scc/osd/area.py index 4a2e8f040..1dfe9c5cd 100644 --- a/scc/osd/area.py +++ b/scc/osd/area.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Menu diff --git a/scc/osd/binding_display.py b/scc/osd/binding_display.py index 06816d3ea..4ae4e9c4b 100644 --- a/scc/osd/binding_display.py +++ b/scc/osd/binding_display.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Launcher diff --git a/scc/osd/dialog.py b/scc/osd/dialog.py index f82ce46ac..e0ead067b 100644 --- a/scc/osd/dialog.py +++ b/scc/osd/dialog.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Dialog diff --git a/scc/osd/gesture_display.py b/scc/osd/gesture_display.py index 289a864a5..4d2538c59 100644 --- a/scc/osd/gesture_display.py +++ b/scc/osd/gesture_display.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Grid OSD Menu diff --git a/scc/osd/grid_menu.py b/scc/osd/grid_menu.py index 6a4acb284..dc7cc0548 100644 --- a/scc/osd/grid_menu.py +++ b/scc/osd/grid_menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Grid OSD Menu diff --git a/scc/osd/hmenu.py b/scc/osd/hmenu.py index f74f934d1..8f5da7bcd 100644 --- a/scc/osd/hmenu.py +++ b/scc/osd/hmenu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Horisontal OSD Menu diff --git a/scc/osd/inputdisplay.py b/scc/osd/inputdisplay.py index eb9ab1e14..a41f2c7c1 100644 --- a/scc/osd/inputdisplay.py +++ b/scc/osd/inputdisplay.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Input Display """ diff --git a/scc/osd/keyboard.py b/scc/osd/keyboard.py index cbfc07042..ea73e85f2 100644 --- a/scc/osd/keyboard.py +++ b/scc/osd/keyboard.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ SC-Controller - OSD Menu diff --git a/scc/osd/launcher.py b/scc/osd/launcher.py index 3be46b7a9..e042c0eaf 100644 --- a/scc/osd/launcher.py +++ b/scc/osd/launcher.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Launcher diff --git a/scc/osd/menu.py b/scc/osd/menu.py index f4d11a43b..fc7d044fc 100644 --- a/scc/osd/menu.py +++ b/scc/osd/menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Menu diff --git a/scc/osd/menu_generators.py b/scc/osd/menu_generators.py index f4b2613d8..26e28c225 100644 --- a/scc/osd/menu_generators.py +++ b/scc/osd/menu_generators.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Menu Generators diff --git a/scc/osd/message.py b/scc/osd/message.py index 9b08bd63b..f36feb0a9 100644 --- a/scc/osd/message.py +++ b/scc/osd/message.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Message diff --git a/scc/osd/osk_actions.py b/scc/osd/osk_actions.py index fbc0fbb14..12a508d6d 100644 --- a/scc/osd/osk_actions.py +++ b/scc/osd/osk_actions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - On Screen Keyboard Actions diff --git a/scc/osd/quick_menu.py b/scc/osd/quick_menu.py index d01c50baf..71fa12caf 100644 --- a/scc/osd/quick_menu.py +++ b/scc/osd/quick_menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Quick OSD Menu diff --git a/scc/osd/radial_menu.py b/scc/osd/radial_menu.py index 0aa8e93e1..842c03d11 100644 --- a/scc/osd/radial_menu.py +++ b/scc/osd/radial_menu.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Menu diff --git a/scc/osd/slave_mapper.py b/scc/osd/slave_mapper.py index ca79ba196..7cb9b27f9 100644 --- a/scc/osd/slave_mapper.py +++ b/scc/osd/slave_mapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Slave Mapper diff --git a/scc/osd/timermanager.py b/scc/osd/timermanager.py index a1271364a..9a17c253e 100644 --- a/scc/osd/timermanager.py +++ b/scc/osd/timermanager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Timer manager diff --git a/scc/paths.py b/scc/paths.py index abf1a857d..d1a85d35c 100644 --- a/scc/paths.py +++ b/scc/paths.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Paths diff --git a/scc/poller.py b/scc/poller.py index 57a3457ad..80b1fc3aa 100644 --- a/scc/poller.py +++ b/scc/poller.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Poller diff --git a/scc/profile.py b/scc/profile.py index 9201a09ac..641d48e0b 100644 --- a/scc/profile.py +++ b/scc/profile.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Profile diff --git a/scc/sccdaemon.py b/scc/sccdaemon.py index 4ef65a3f5..2a48d5f15 100644 --- a/scc/sccdaemon.py +++ b/scc/sccdaemon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Daemon class """ diff --git a/scc/scheduler.py b/scc/scheduler.py index fb2d85fde..6a464ce3f 100644 --- a/scc/scheduler.py +++ b/scc/scheduler.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Scheduler diff --git a/scc/scripts.py b/scc/scripts.py index 0a8cc02fd..f77c030ac 100644 --- a/scc/scripts.py +++ b/scc/scripts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Scripts diff --git a/scc/special_actions.py b/scc/special_actions.py index 08ffa3f8b..b1340ffc2 100644 --- a/scc/special_actions.py +++ b/scc/special_actions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC Controller - Special Actions diff --git a/scc/tools.py b/scc/tools.py index a441f5864..c2dfc0785 100644 --- a/scc/tools.py +++ b/scc/tools.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - tools diff --git a/scc/uinput.py b/scc/uinput.py index aca5fbc0f..6886da78a 100644 --- a/scc/uinput.py +++ b/scc/uinput.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # The MIT License (MIT) # diff --git a/scc/x11/__init__.py b/scc/x11/__init__.py index c898cf920..218a7bdf8 100644 --- a/scc/x11/__init__.py +++ b/scc/x11/__init__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - X11 diff --git a/scc/x11/autoswitcher.py b/scc/x11/autoswitcher.py index 60d91152a..4b71bc7b9 100644 --- a/scc/x11/autoswitcher.py +++ b/scc/x11/autoswitcher.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Autoswitch Daemon diff --git a/scc/x11/scc-autoswitch-daemon.py b/scc/x11/scc-autoswitch-daemon.py index ec98e749f..346a3a267 100644 --- a/scc/x11/scc-autoswitch-daemon.py +++ b/scc/x11/scc-autoswitch-daemon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Autoswitch Daemon diff --git a/scc/x11/scc-osd-daemon.py b/scc/x11/scc-osd-daemon.py index aaad325cb..ce9d23b0c 100755 --- a/scc/x11/scc-osd-daemon.py +++ b/scc/x11/scc-osd-daemon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - OSD Daemon diff --git a/scc/x11/scc_autoswitch_daemon.py b/scc/x11/scc_autoswitch_daemon.py index 736c63b9a..942a33ef3 100644 --- a/scc/x11/scc_autoswitch_daemon.py +++ b/scc/x11/scc_autoswitch_daemon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """ SC-Controller - Autoswitch Daemon diff --git a/update-wiki.py b/update-wiki.py index d94c6579c..a174c1a7e 100644 --- a/update-wiki.py +++ b/update-wiki.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 import sys, os, subprocess def try_run(cmd):