mirror of
https://github.com/Steffo99/bbbdl.git
synced 2024-11-22 07:44:18 +00:00
🧹 Wrap everything in a __name__ == "__main__"
This commit is contained in:
parent
9fad3e894d
commit
0d0843545d
1 changed files with 46 additions and 45 deletions
|
@ -10,9 +10,6 @@ videoSuffix = "/deskshare/deskshare.webm"
|
|||
audioSuffix = "/video/webcams.mp4"
|
||||
# slides = "https://davy04.edunova.it/presentation/17d59e4eb742c498e605406fd441c1a2d7eb4bf0-1601024050226/shapes.svg"
|
||||
|
||||
os.makedirs("VideoLezioni", exist_ok=True)
|
||||
os.chdir("VideoLezioni")
|
||||
|
||||
# Dictionary containing the id of the saved lessons
|
||||
meetingsID = {
|
||||
'021020': '17d59e4eb742c498e605406fd441c1a2d7eb4bf0-1601628738707',
|
||||
|
@ -22,7 +19,11 @@ meetingsID = {
|
|||
'091020': '17d59e4eb742c498e605406fd441c1a2d7eb4bf0-1602232967548',
|
||||
}
|
||||
|
||||
for (date, meetId) in meetingsID.items():
|
||||
if __name__ == "__main__":
|
||||
os.makedirs("VideoLezioni", exist_ok=True)
|
||||
os.chdir("VideoLezioni")
|
||||
|
||||
for (date, meetId) in meetingsID.items():
|
||||
if os.path.exists(f"Gestione{date}joinedWithSlide.mp4"):
|
||||
print("Il video e' gia' stato scaricato")
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue