diff --git a/up.py b/up.py index 29a5815..2c8d032 100644 --- a/up.py +++ b/up.py @@ -7,9 +7,10 @@ files = listdir() for i in files: tim = today.strftime("%d.%m.%Y_"+time.strftime("%H:%M", time.localtime())) - + #Check type,no need for this #tp = i[i.find('.') + 1:] + if i == "nashepunks.mp3": ss("telegram-upload "+i+" --to https://t.me/getnetradio_nashe0punk --caption "+tim) ss("mkdir ARCHIVE/"+tim) @@ -18,3 +19,5 @@ for i in files: ss("telegram-upload "+i+" --to https://t.me/getnetradio_nrj --caption "+tim) ss("mkdir ARCHIVE/"+tim) ss("mv "+i+" ARCHIVE/"+tim+"/") + else: + pass