import os
import time
from distutils.dir_util import copy_tree

yos = os.listdir("queued")

while True:
  copy_tree("queued/", "active/")
  for shid in yos:
    os.rename("active/{}".format(shid), "CurDis.png")
    print('Image Swapped')
    time.sleep(5)
8ad19e54e555308811bf777c0699a16a5b346c50
<mask token>

<mask token>
while True:
    copy_tree('queued/', 'active/')
    for shid in yos:
        os.rename('active/{}'.format(shid), 'CurDis.png')
        print('Image Swapped')
        time.sleep(5)

<mask token>
yos = os.listdir('queued')
while True:
    copy_tree('queued/', 'active/')
    for shid in yos:
        os.rename('active/{}'.format(shid), 'CurDis.png')
        print('Image Swapped')
        time.sleep(5)

import os
import time
from distutils.dir_util import copy_tree
yos = os.listdir('queued')
while True:
    copy_tree('queued/', 'active/')
    for shid in yos:
        os.rename('active/{}'.format(shid), 'CurDis.png')
        print('Image Swapped')
        time.sleep(5)

import os
import time
from distutils.dir_util import copy_tree

yos = os.listdir("queued")

while True:
  copy_tree("queued/", "active/")
  for shid in yos:
    os.rename("active/{}".format(shid), "CurDis.png")
    print('Image Swapped')
    time.sleep(5)