diff --git a/site-updater-i2hq.sh b/site-updater-i2hq.sh
index 51b9357e8a83310b8a0d8ae0011f8f5212aa30d3..b12c2d23f509e3a68f12974bc8b9efffcd19d6ba 100755
--- a/site-updater-i2hq.sh
+++ b/site-updater-i2hq.sh
@@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then
   ./compile-messages-i2hq.sh
 fi
 
-cat $TMP | grep "^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
+cat $TMP | grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
 if [ $? -eq 0 ]; then
   echo "Python files changed, restarting server"
   touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa
diff --git a/site-updater.sh b/site-updater.sh
index 63851662c29489404ac24fb52142984c50880073..d5366eaf08c11099b04455d328e65b24da439030 100755
--- a/site-updater.sh
+++ b/site-updater.sh
@@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then
   ./compile-messages.sh
 fi
 
-cat $TMP | grep "^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
+cat $TMP | grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null
 if [ $? -eq 0 ]; then
   echo "Python files changed, restarting server"
   touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa