Skip to content

Instantly share code, notes, and snippets.

@sunilk-n
Created August 21, 2019 06:20
Show Gist options
  • Save sunilk-n/29823efa139e6310cfba50c390e966ae to your computer and use it in GitHub Desktop.
Save sunilk-n/29823efa139e6310cfba50c390e966ae to your computer and use it in GitHub Desktop.
File changes for linux
# moneyKart/kartDisplay/moneyKartUI.py
# Line 18 update for linux
if sys.platform.startswith('win'):
#Remains same
else:
w, h = 940, 560
# Line 89 function change
if sys.platform.startswith('win'):
# Remains same
elif sys.platform.startswith('linux'):
if args and args[0]:
self.widgetLayout(PaymentMethods(self, id=str(args[0], type=str(args[1])))
else:
self.widgetLayout(PaymentMethods(self))
# moneyKart/kartDisplay/paymentMethod.py
# Line 67 add
self.dateHolder.setDisplayFormat("dd/MM/yyy")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment