Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行有bug #29

Open
y4ney opened this issue Jan 18, 2022 · 2 comments
Open

运行有bug #29

y4ney opened this issue Jan 18, 2022 · 2 comments

Comments

@y4ney
Copy link

y4ney commented Jan 18, 2022

File "wydomain/wydomain.py", line 41
os.makedirs(_cache_path, 0777)
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
(venv) (base)

@shuaichaochaoi
Copy link

在0777前加上0o
os.makedirs(_cache_path, 0o0777)

@tesilast
Copy link

tesilast commented Sep 3, 2023

┌──(root㉿kali)-[~/桌面/wydomain]
└─# ./dnsburte.py -h
File "/root/桌面/wydomain/./dnsburte.py", line 129
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants