import configparser
import time
import RPi.GPIO as GPIO

from client import MumbleClient

class InterCom:

    def __init__(self):
        config = configparser.ConfigParser()
        config.read('intercom.ini')
        self.mumble_client = MumbleClient(config['mumbleclient'])
        self.exit = False
        self.send_input = False


        if config['general']['gpiotype'] == 'BCM':
            GPIO.setmode(GPIO.BCM)

        self.button = int(config['general']['button'])
        GPIO.setup(self.button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)

    def run(self):
        while not self.exit:
            if GPIO.input(self.button):
                self.mumble_client.send_input_audio()

if __name__ == '__main__':
    try:
        InterCom().run()
    except Exception as e:
        raise e
    finally:
        GPIO.cleanup()

import configparser
import time
import RPIO as GPIO

from client import MumbleClient

class InterCom:

    def __init__(self):
        config = configparser.ConfigParser()
        config.read('intercom.ini')
        self.mumble_client = MumbleClient(config['mumbleclient'])
        self.exit = False
        self.send_input = False

        if config['general']['gpiotype'] == 'BCM':
            GPIO.setmode(GPIO.BCM)

        self.button = int(config['general']['button'])
        GPIO.setup(self.button, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)

    def run(self):
        while not self.exit:
            if GPIO.input(self.button):
                self.mumble_client.send_input_audio()

if __name__ == '__main__':
    InterCom().run()

--- 
+++ 
@@ -1,6 +1,6 @@
 import configparser
 import time
-import RPIO as GPIO
+import RPi.GPIO as GPIO
 
 from client import MumbleClient
 
@@ -12,6 +12,7 @@
         self.mumble_client = MumbleClient(config['mumbleclient'])
         self.exit = False
         self.send_input = False
+
 
         if config['general']['gpiotype'] == 'BCM':
             GPIO.setmode(GPIO.BCM)
@@ -25,4 +26,9 @@
                 self.mumble_client.send_input_audio()
 
 if __name__ == '__main__':
-    InterCom().run()
+    try:
+        InterCom().run()
+    except Exception as e:
+        raise e
+    finally:
+        GPIO.cleanup()
Change to rpio and add clean
