Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d256f08c
Kaydet (Commit)
d256f08c
authored
Nis 02, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convwatch.py: decode bytes before printing
Change-Id: Ic1b115583415ab9bd2bdb18fa55f61803efc8442
üst
8ac24de1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
convwatch.py
bin/convwatch.py
+1
-1
No files found.
bin/convwatch.py
Dosyayı görüntüle @
d256f08c
...
@@ -327,7 +327,7 @@ def identify(imagefile):
...
@@ -327,7 +327,7 @@ def identify(imagefile):
if
process
.
wait
()
!=
0
:
if
process
.
wait
()
!=
0
:
raise
Exception
(
"identify failed"
)
raise
Exception
(
"identify failed"
)
if
result
.
partition
(
b
"
\n
"
)[
0
]
!=
b
"1"
:
if
result
.
partition
(
b
"
\n
"
)[
0
]
!=
b
"1"
:
print
(
"identify result: "
+
result
)
print
(
"identify result: "
+
result
.
decode
(
'utf-8'
)
)
print
(
"DIFFERENCE in "
+
imagefile
)
print
(
"DIFFERENCE in "
+
imagefile
)
def
compose
(
refimagefile
,
imagefile
,
diffimagefile
):
def
compose
(
refimagefile
,
imagefile
,
diffimagefile
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment