Browse Source

make setting some variables less verbose

Aiden Holmes 4 months ago
parent
commit
2b4fae47a4
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      restor.py

+ 1
- 5
restor.py View File

@@ -30,11 +30,7 @@ def main():
30 30
         sys.exit(1)
31 31
 
32 32
     qhash = hashlib.sha1(cwd.encode("UTF-8")).hexdigest()[:7]
33
-
34
-    basehash = basename + "-" + qhash
35
-
36
-    backup_location += "/"
37
-    backup_location += basehash
33
+    backup_location += "/" + basename + "-" + qhash
38 34
     backbase = backup_location
39 35
 
40 36
     vc_file = backbase+"/backtrack.txt"

Loading…
Cancel
Save