projekty
/
imago.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
much better manual mode
[imago.git]
/
src
/
imago.py
diff --git
a/src/imago.py
b/src/imago.py
index
18e7bba
..
fd16af0
100755
(executable)
--- a/
src/imago.py
+++ b/
src/imago.py
@@
-1,9
+1,6
@@
#!/usr/bin/env python
#!/usr/bin/env python
-"""Go image recognition.
-
-This is the main UI module of Imago.
-"""
+"""Go image recognition."""
import sys
import os
import sys
import os
@@
-182,7
+179,7
@@
class Imsave():
if name:
filename = self.saving_dir + name + im_format[0]
else:
if name:
filename = self.saving_dir + name + im_format[0]
else:
- filename = self.saving_dir + "{0:0>
2
}".format(self.saving_num) + im_format[0]
+ filename = self.saving_dir + "{0:0>
3
}".format(self.saving_num) + im_format[0]
self.saving_num += 1
if not os.path.isdir(self.saving_dir):
os.makedirs(self.saving_dir)
self.saving_num += 1
if not os.path.isdir(self.saving_dir):
os.makedirs(self.saving_dir)