# built documents.
#
# The short X.Y version.
-version = '1.2.6'
+version = '1.2.7'
# The full version, including alpha/beta/rc tags.
-release = '1.2.6'
+release = '1.2.7'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
sauce = join(dirname(__file__), 'image.c')
if not exists(library) or getmtime(sauce) > getmtime(library):
build = "cc -fPIC -shared -o %s %s" % (library, sauce)
- assert os.system(build + " >/dev/null 2>&1") == 0
+ os.system(build + " >/dev/null 2>&1")
image_c = ctypes.cdll.LoadLibrary(library)
image_c.init()
return image_c.rgb_to_ansi
detail_twitter_error(e)
sys.stdout.write(g['decorated_name'](g['PREFIX']))
sys.stdout.flush()
- except (URLError, ConnectionResetError):
+ except (URLError):
printNicely(
magenta('There seems to be a connection problem.'))
save_history()