mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 08:50:51 +00:00
autopep
This commit is contained in:
@@ -210,7 +210,7 @@ they appear in the batchfile.
|
|||||||
self.outstream.write("Attempting to rename... ")
|
self.outstream.write("Attempting to rename... ")
|
||||||
full_old_path = os.path.abspath(line)
|
full_old_path = os.path.abspath(line)
|
||||||
new_name = os.path.join(os.path.dirname(full_old_path),
|
new_name = os.path.join(os.path.dirname(full_old_path),
|
||||||
self.env.metadatums['_NEW_BASENAME'])
|
self.env.metadatums['_NEW_BASENAME'])
|
||||||
|
|
||||||
if not os.path.exists(new_name):
|
if not os.path.exists(new_name):
|
||||||
os.rename(line, new_name)
|
os.rename(line, new_name)
|
||||||
@@ -366,7 +366,6 @@ they appear in the batchfile.
|
|||||||
val = args[0]
|
val = args[0]
|
||||||
self.env.set_once('DESCRIPTION', val)
|
self.env.set_once('DESCRIPTION', val)
|
||||||
|
|
||||||
|
|
||||||
# def picture(self, args):
|
# def picture(self, args):
|
||||||
# """
|
# """
|
||||||
# picture PATH
|
# picture PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user