From 4f7dd55e2c70067360c6d45113db554daa4b5fa4 Mon Sep 17 00:00:00 2001 From: jathinjohny Date: Sun, 7 Oct 2018 16:45:35 +0530 Subject: [PATCH] hacktober fest iam a beginner --- backup_automater_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup_automater_services.py b/backup_automater_services.py index 0addf2ce257..ef921a09313 100644 --- a/backup_automater_services.py +++ b/backup_automater_services.py @@ -24,7 +24,7 @@ destdir = os.path.join(dropbox, "My_backups" + "/" + "Automater_services" + todaystr + "/") # the destination backup directory -for file_name in open(conffilename): # Walk through the configuration file +for file_name in open(conffile_name): # Walk through the configuration file fname = file_name.strip() # Strip out the blank lines from the configuration file if fname: # For the lines that are not blank sourcefile = os.path.join(sourcedir, fname) # Get the name of the source files to backup