mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
fix syntax error
This commit is contained in:
@@ -19,7 +19,7 @@ from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
|
|||||||
from tweaks.daemons_tweak import Daemon
|
from tweaks.daemons_tweak import Daemon
|
||||||
|
|
||||||
App_Version = "5.0"
|
App_Version = "5.0"
|
||||||
App_Build = 7
|
App_Build = 8
|
||||||
|
|
||||||
class Page(Enum):
|
class Page(Enum):
|
||||||
Home = 0
|
Home = 0
|
||||||
|
|||||||
@@ -164,8 +164,8 @@ class PosterboardTweak(Tweak):
|
|||||||
elif self.tendies == None or len(self.tendies) == 0:
|
elif self.tendies == None or len(self.tendies) == 0:
|
||||||
return
|
return
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
# try to get past directory name limit on windows
|
# try to get past directory name limit on windows
|
||||||
output_dir = "\\\\?\\" + output_dir
|
output_dir = "\\\\?\\" + output_dir
|
||||||
for tendie in self.tendies:
|
for tendie in self.tendies:
|
||||||
with zipfile.ZipFile(tendie.path, 'r') as zip_ref:
|
with zipfile.ZipFile(tendie.path, 'r') as zip_ref:
|
||||||
zip_ref.extractall(output_dir)
|
zip_ref.extractall(output_dir)
|
||||||
|
|||||||
Reference in New Issue
Block a user