diff --git a/movescreen.py b/movescreen.py
index b6bd4ad..99b7a7c 100755
--- a/movescreen.py
+++ b/movescreen.py
@@ -23,7 +23,7 @@ if 2 < len(sys.argv):
else:
# Get focused window
out = subprocess.check_output(['xprop', '-root', '_NET_ACTIVE_WINDOW']).decode('ascii', 'ignore')
- id = re.search("window id # (0x[0-9a-f]+),", out).group(1)
+ id = re.search('window id # (0x[0-9a-f]+)', out).group(1)
# Get screens information