]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/progress.py
Comment and clean code
[lightcards.git] / lightcards / progress.py
index 665ae315485cba08b742073af68e188608f031d3..2147bff8b0e31b47441ef3e631ba0a0f93b65419 100644 (file)
@@ -9,6 +9,7 @@ import shutil
 global dired
 dired = f"{os.path.expanduser('~')}/.cache/lightcards/"
 
+
 def name_gen(stra):
     hasher = hashlib.md5()
     hasher.update(str(stra).encode("utf-8"))
@@ -44,7 +45,3 @@ def purge(stra):
 def purge_all():
     if os.path.exists(dired):
         shutil.rmtree(dired)
-
-
-if __name__ == "__main__":
-    main()