Thread: Serial number.
View Single Post
Old 04-08-2016, 11:08 AM   #24
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
For a quick hack fix (not unlike my minimal win32 temp path fix), try removing the "\n" from the print statement (see edit above for details). Unless md5sum REQUIRES a line terminator (in which case replace "\n" with "\v" so forced linefeed only, even in windows).

Of course, the clean way *IS* an md5 of the string instead of a temp file.

Last edited by geekmaster; 04-08-2016 at 11:12 AM.
geekmaster is offline   Reply With Quote