Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2了,用了r还用转义,把自己死了

  • Loading branch information...
commit 487a3411dcde998f20e690bcbca8bf5cd8c3c612 1 parent 643004a
@maplebeats authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  newpost.py
View
2  newpost.py
@@ -66,7 +66,7 @@ class push:
def __init__(self,filename,title):
if input('push?(yes/y)').lower() == ('yes' or 'y'):
- os.system(r'cd %s;git add %s;git commit -a -m \"%s %s\";git push'%(gitdir,filename,time.asctime(),title))
+ os.system(r'cd %s;git add %s;git commit -a -m "%s %s";git push'%(gitdir,filename,time.asctime(),title))
else:
sys.exit()
Please sign in to comment.
Something went wrong with that request. Please try again.